aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-messagebox.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-12-02 11:28:22 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-12-02 11:28:22 +0800
commit4354c0ac032ef2837a80f801d1d1cad9036f2b37 (patch)
tree0d54c308c8ec1fe3ba4dd3bf32a5565df85d36b0 /widgets/misc/e-messagebox.c
parent9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 (diff)
downloadgsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.gz
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.zst
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.zip
Add include of gnome-dialog.h
2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18978
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);