From f47cfffead46f0989eb3bc01e4c6258831226c36 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 10 May 2004 21:46:25 +0000 Subject: [PATCH] removed a redundant call to gtk_widget_queue_resize(). 2004-05-10 Sven Neumann * libgimpwidgets/gimpframe.c (gimp_frame_style_set): removed a redundant call to gtk_widget_queue_resize(). --- ChangeLog | 5 +++++ libgimpwidgets/gimpframe.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0c0997ddd6..288bbf5f8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-10 Sven Neumann + + * libgimpwidgets/gimpframe.c (gimp_frame_style_set): removed a + redundant call to gtk_widget_queue_resize(). + 2004-05-10 Sven Neumann * app/xcf/xcf-save.c (xcf_save_prop): fixed size of colormap diff --git a/libgimpwidgets/gimpframe.c b/libgimpwidgets/gimpframe.c index 0731a728ee..a6678c6119 100644 --- a/libgimpwidgets/gimpframe.c +++ b/libgimpwidgets/gimpframe.c @@ -237,9 +237,8 @@ static void gimp_frame_style_set (GtkWidget *widget, GtkStyle *previous) { - /* for "label_spacing" */ + /* font changes invalidate the indentation */ g_object_set_data (G_OBJECT (widget), GIMP_FRAME_INDENT_KEY, NULL); - gtk_widget_queue_resize (widget); /* for "label_bold" */ gimp_frame_label_widget_notify (GTK_FRAME (widget));