aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-messagebox.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-messagebox.c')
-rw-r--r--widgets/misc/e-messagebox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-messagebox.c b/widgets/misc/e-messagebox.c
index 9607e2fa92..4a6da0e3cf 100644
--- a/widgets/misc/e-messagebox.c
+++ b/widgets/misc/e-messagebox.c
@@ -81,7 +81,7 @@ e_message_box_class_init (EMessageBoxClass *klass)
gobject_class = (GObjectClass *) klass;
object_class = (GtkObjectClass *) klass;
- parent_class = gtk_type_class (gnome_dialog_get_type ());
+ parent_class = g_type_class_ref(gnome_dialog_get_type ());
gobject_class->finalize = e_message_box_finalize;
@@ -216,7 +216,7 @@ e_message_box_construct (EMessageBox *messagebox,
/* Add some extra space on the right to balance the pixmap */
if (pixmap) {
alignment = gtk_alignment_new (0., 0., 0., 0.);
- gtk_widget_set_usize (alignment, GNOME_PAD, -1);
+ gtk_widget_set_size_request (alignment, GNOME_PAD, -1);
gtk_widget_show (alignment);
gtk_box_pack_start (GTK_BOX (hbox), alignment, FALSE, FALSE, 0);