aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-10-25 01:40:57 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-25 01:40:57 +0800
commit31d99df0f42df0095dbfd3f3b29f0962b97cde4b (patch)
treecce1c4ed0a65825f41152c6923c49d8641b51b99
parent7b89f4f8d20428aff2355065ad1469bb6262115d (diff)
downloadgsoc2013-evolution-31d99df0f42df0095dbfd3f3b29f0962b97cde4b.tar
gsoc2013-evolution-31d99df0f42df0095dbfd3f3b29f0962b97cde4b.tar.gz
gsoc2013-evolution-31d99df0f42df0095dbfd3f3b29f0962b97cde4b.tar.bz2
gsoc2013-evolution-31d99df0f42df0095dbfd3f3b29f0962b97cde4b.tar.lz
gsoc2013-evolution-31d99df0f42df0095dbfd3f3b29f0962b97cde4b.tar.xz
gsoc2013-evolution-31d99df0f42df0095dbfd3f3b29f0962b97cde4b.tar.zst
gsoc2013-evolution-31d99df0f42df0095dbfd3f3b29f0962b97cde4b.zip
Fixed some weird casting crack that got in here somehow, removed
2001-10-24 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Fixed some weird casting crack that got in here somehow, removed superfluous box-packing that was generating a gtk warning. svn path=/trunk/; revision=13988
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-search.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c32aff77b1..3631372b77 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-24 Jon Trowbridge <trow@ximian.com>
+
+ * mail-search.c (mail_search_construct): Fixed some weird casting
+ crack that got in here somehow, removed superfluous box-packing
+ that was generating a gtk warning.
+
2001-10-23 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (owner_unset_cb): Unref the global
diff --git a/mail/mail-search.c b/mail/mail-search.c
index aadbd1a2a0..66ef615ebb 100644
--- a/mail/mail-search.c
+++ b/mail/mail-search.c
@@ -365,15 +365,14 @@ mail_search_construct (MailSearch *ms, MailDisplay *mail)
gtk_box_pack_start (GTK_BOX (frame_vbox), matches_hbox, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (frame_vbox), toggles_hbox, TRUE, TRUE, 0);
- gtk_container_add (GTK_CONTAINER (GTK_FRAME (msg_frame)), GTK_WIDGET (frame_vbox));
+ gtk_container_add (GTK_CONTAINER (msg_frame), GTK_WIDGET (frame_vbox));
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (ms)->vbox), msg_hbox, TRUE, TRUE, 0);
- gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (ms)->vbox), GTK_WIDGET (GTK_FRAME (msg_frame)), TRUE, TRUE, 0);
gtk_widget_grab_focus (entry); /* Give focus to entry by default */
gnome_dialog_set_default (GNOME_DIALOG (ms), 0);
gnome_dialog_editable_enters (GNOME_DIALOG (ms), GTK_EDITABLE(entry)); /* Make <enter> run the search */
- gnome_window_icon_set_from_file (GTK_WINDOW (GNOME_DIALOG (ms)), EVOLUTION_ICONSDIR "/find-message.xpm");
+ gnome_window_icon_set_from_file (GTK_WINDOW (ms), EVOLUTION_ICONSDIR "/find-message.xpm");
gtk_widget_show_all (msg_hbox);
gtk_widget_show_all (find_hbox);