Go to the source code of this file.
Enumerator |
---|
EV_WINDOW_TITLE_DOCUMENT |
|
EV_WINDOW_TITLE_PASSWORD |
|
EV_WINDOW_TITLE_RECENT |
|
Definition at line 30 of file ev-window-title.h.
Definition at line 249 of file ev-window-title.c.
251 if (window_title->document)
252 g_object_weak_unref (G_OBJECT (window_title->document), (GWeakNotify)
document_destroyed_cb, window_title);
253 g_free (window_title->doc_title);
254 g_free (window_title->uri);
255 g_free (window_title);
Definition at line 202 of file ev-window-title.c.
205 if (window_title->document == document)
208 if (window_title->document)
209 g_object_weak_unref (G_OBJECT (window_title->document), (GWeakNotify)
document_destroyed_cb, window_title);
210 window_title->document = document;
211 g_object_weak_ref (G_OBJECT (window_title->document), (GWeakNotify)
document_destroyed_cb, window_title);
212 g_clear_pointer (&window_title->doc_title, g_free);
214 if (window_title->document != NULL) {
220 if (doc_title != NULL) {
221 doc_title = g_strstrip (doc_title);
223 if (doc_title[0] !=
'\0' &&
224 g_utf8_validate (doc_title, -1, NULL)) {
225 window_title->doc_title = doc_title;
void ev_window_title_set_uri |
( |
EvWindowTitle * |
window_title, |
|
|
const char * |
uri |
|
) |
| |
Definition at line 236 of file ev-window-title.c.
239 if (g_strcmp0 (uri, window_title->uri) == 0)
242 g_free (window_title->uri);
243 window_title->uri = g_strdup (uri);