]> www.fi.muni.cz Git - evince.git/commitdiff
Fixed warnings on reload and probably crash reason.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 11 Oct 2005 23:12:51 +0000 (23:12 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 11 Oct 2005 23:12:51 +0000 (23:12 +0000)
* shell/ev-window.c: (ev_window_setup_document):

Fixed warnings on reload and probably crash reason.

ChangeLog
shell/ev-window.c

index 7a8d1356388a201398bd713533162782775247de..7bf9da2f5a05c618ddf0daaadfeee35f5ac74c68 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-12  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * shell/ev-window.c: (ev_window_setup_document):
+       
+       Fixed warnings on reload and probably crash reason.
+
 2005-10-12  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * properties/ev-properties-view.c:
index d3ac46a540a9efb0523c5a2ee9256ff9c9baf163..d1fa8a2219e51795ff92969e5f8227fc38253670 100644 (file)
@@ -698,8 +698,8 @@ ev_window_setup_document (EvWindow *ev_window)
                ev_view_set_document (view, document);
        }
 
-       ev_window_title_set_uri (ev_window->priv->title, ev_window->priv->uri);
        ev_window_title_set_document (ev_window->priv->title, document);
+       ev_window_title_set_uri (ev_window->priv->title, ev_window->priv->uri);
        action = gtk_action_group_get_action (ev_window->priv->action_group, PAGE_SELECTOR_ACTION);
        ev_page_action_set_document (EV_PAGE_ACTION (action), document);
        update_action_sensitivity (ev_window);