2006-09-07 [paul] 2.4.0cvs160
authorPaul Mangan <paul@claws-mail.org>
Thu, 7 Sep 2006 13:23:55 +0000 (13:23 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 7 Sep 2006 13:23:55 +0000 (13:23 +0000)
* src/mimeview.c
fix compilation warnings
Thanks to Colin

ChangeLog
PATCHSETS
configure.ac
src/mimeview.c

index cf25ad53e5793c4fc11787fea8698ffb90dd9c40..155b8b944a9a41310c770a1fbe5dd776ba8df2db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-07 [paul]      2.4.0cvs160
+
+       * src/mimeview.c
+               fix compilation warnings
+               Thanks to Colin
+
 2006-09-07 [paul]      2.4.0cvs159
 
        * src/mimeview.c
index dd95bc9541273d2d8a4fbbf5e33e3789e5bb2aae..3b291f1bfcf4b1e1035ec517bd2e19063fabacaa 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/es/advanced.xml;  ) > 2.4.0cvs157.patchset
 ( cvs diff -u -r 1.59.2.43 -r 1.59.2.44 src/prefs_filtering.c;  ) > 2.4.0cvs158.patchset
 ( cvs diff -u -r 1.83.2.88 -r 1.83.2.89 src/mimeview.c;  ) > 2.4.0cvs159.patchset
+( cvs diff -u -r 1.83.2.89 -r 1.83.2.90 src/mimeview.c;  ) > 2.4.0cvs160.patchset
index 189b5da5aec27e39cc37f8126a9d710637daf892..ac94d3cf1868fd3dc8013127789f349724be0c19 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=159
+EXTRA_VERSION=160
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 21b8ef376ce42c4dcf80c7d865fa216296a52b0b..a30d1c6e6ade29bacf867768fd321b4b6ba161a4 100644 (file)
@@ -511,8 +511,6 @@ static void mimeview_show_message_part(MimeView *mimeview, MimeInfo *partinfo)
        const gchar *fname;
 
        if (!partinfo) return;
-       if (partinfo == mimeview->opened)
-               return;
 
        fname = mimeview->file;
        if (!fname) return;
@@ -641,7 +639,8 @@ static void mimeview_change_view_type(MimeView *mimeview, MimeViewType type)
        GtkWidget *focused = NULL;
        
        if (mainwindow_get_mainwindow())
-               focused = gtkut_get_focused_child(mainwindow_get_mainwindow()->window);
+               focused = gtkut_get_focused_child(
+                               GTK_CONTAINER(mainwindow_get_mainwindow()->window));
 
        if ((mimeview->type != MIMEVIEW_VIEWER) && 
            (mimeview->type == type)) return;