diff options
author | Andre Klapper <a9016009@gmx.de> | 2009-02-12 00:06:24 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2009-02-12 00:06:24 +0800 |
commit | 9cc64a2009458355ed1e404ca4e15ede10acd920 (patch) | |
tree | 3abe3e301dc90aa734a3cbfd686fa80a838612bc /calendar | |
parent | ae06b35d1f9f050d1841104a640779e0e06e1f4b (diff) | |
download | gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.gz gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.bz2 gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.lz gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.xz gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.zst gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.zip |
Substitute some deprecated gtk+ functions.
2009-02-11 Andre Klapper <a9016009@gmx.de>
* addressbook/gui/component/addressbook-migrate.c:
* calendar/gui/migration.c:
* calendar/gui/dialogs/alarm-dialog.c:
* mail/em-folder-browser.c:
* mail/em-migrate.c:
* plugins/audio-inline/audio-inline.c:
Substitute some deprecated gtk+ functions.
svn path=/trunk/; revision=37249
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/alarm-dialog.c | 2 | ||||
-rw-r--r-- | calendar/gui/migration.c | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 0f3131fbd3..e8782a52b4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2009-02-11 Andre Klapper <a9016009@gmx.de> + + * /gui/migration.c: + * /gui/dialogs/alarm-dialog.c: + Substitute some deprecated gtk+ functions. + 2009-02-09 Milan Crha <mcrha@redhat.com> * gui/dialogs/cal-prefs-dialog.glade: diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index bf78f70011..2f1393d70f 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -863,7 +863,7 @@ setup_select_names (Dialog *dialog) dialog->malarm_addresses = GTK_WIDGET (e_name_selector_peek_section_entry (dialog->name_selector, section_name)); gtk_widget_show (dialog->malarm_addresses); - gtk_box_pack_end_defaults (GTK_BOX (dialog->malarm_address_group), dialog->malarm_addresses); + gtk_box_pack_end (GTK_BOX (dialog->malarm_address_group), dialog->malarm_addresses, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (dialog->malarm_addressbook), "clicked", G_CALLBACK (addressbook_clicked_cb), dialog); diff --git a/calendar/gui/migration.c b/calendar/gui/migration.c index b6174202d2..80d58b67fd 100644 --- a/calendar/gui/migration.c +++ b/calendar/gui/migration.c @@ -164,19 +164,19 @@ setup_progress_dialog (gboolean tasks) gtk_label_set_line_wrap ((GtkLabel *) w, TRUE); gtk_widget_show (w); - gtk_box_pack_start_defaults ((GtkBox *) vbox, w); + gtk_box_pack_start ((GtkBox *) vbox, w, TRUE, TRUE, 0); hbox = gtk_hbox_new (FALSE, 6); gtk_widget_show (hbox); - gtk_box_pack_start_defaults ((GtkBox *) vbox, hbox); + gtk_box_pack_start ((GtkBox *) vbox, hbox, TRUE, TRUE, 0); label = (GtkLabel *) gtk_label_new (""); gtk_widget_show ((GtkWidget *) label); - gtk_box_pack_start_defaults ((GtkBox *) hbox, (GtkWidget *) label); + gtk_box_pack_start ((GtkBox *) hbox, (GtkWidget *) label, TRUE, TRUE, 0); progress = (GtkProgressBar *) gtk_progress_bar_new (); gtk_widget_show ((GtkWidget *) progress); - gtk_box_pack_start_defaults ((GtkBox *) hbox, (GtkWidget *) progress); + gtk_box_pack_start ((GtkBox *) hbox, (GtkWidget *) progress, TRUE, TRUE, 0); gtk_widget_show (window); } |