]> www.fi.muni.cz Git - evince.git/commitdiff
Fix build error and small problem on application exit
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 18 Apr 2005 22:28:07 +0000 (22:28 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 18 Apr 2005 22:28:07 +0000 (22:28 +0000)
ChangeLog
shell/ev-application.c
shell/ev-document-types.c

index d827d3abdc7e063a500e9d4d5e064c452abd95c7..1555090bac6c4e8cb8b16b8d60a73c2f1ca0b1df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * shell/ev-application.c: (ev_application_open):
+       * shell/ev-document-types.c:
+       
+       Fix build error and small problem with application exit
+
 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * thumbnailer/Makefile.am:
index e24e8238e7ead84a834814021c85a0eb09420275..43c40680dec9b4662aca03081a262a75d0ec4ed1 100644 (file)
@@ -200,6 +200,10 @@ ev_application_open (EvApplication *application, GError *err)
                ev_window_open (ev_window, uri);
                gtk_widget_show (GTK_WIDGET (ev_window));
                g_free (uri);
+       
+       } else {
+               if (!GTK_WIDGET_VISIBLE (ev_window))
+                       gtk_widget_destroy (GTK_WIDGET (ev_window));
        }
 
        gtk_widget_destroy (GTK_WIDGET (chooser));
index cc7734f12ad95b5ab84a2880c7e1615c78ee0852..2d64594ddd9247e8033d43b95b559d949e786dc6 100644 (file)
@@ -55,7 +55,7 @@ const EvDocumentType document_types[] = {
 
 #ifdef ENABLE_DJVU
        /* djvu: */
-       {"image/vnd.djvu",             djvu_document_get_type),
+       {"image/vnd.djvu",             djvu_document_get_type},
 #endif         
 
 #ifdef ENABLE_DVI