remove size group code because the size group doesn't exist if there is no

2008-06-29  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): remove size
	group code because the size group doesn't exist if there is no
	settings box.


svn path=/trunk/; revision=26020
This commit is contained in:
Michael Natterer
2008-06-29 13:54:01 +00:00
committed by Michael Natterer
parent 6aa62a907b
commit 341cec52dc
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2008-06-29 Michael Natterer <mitch@gimp.org>
* app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): remove size
group code because the size group doesn't exist if there is no
settings box.
2008-06-29 Michael Natterer <mitch@gimp.org> 2008-06-29 Michael Natterer <mitch@gimp.org>
* app/dialogs/channel-options-dialog.c * app/dialogs/channel-options-dialog.c

View File

@ -286,7 +286,6 @@ gimp_gegl_tool_dialog (GimpImageMapTool *image_map_tool)
GimpGeglTool *tool = GIMP_GEGL_TOOL (image_map_tool); GimpGeglTool *tool = GIMP_GEGL_TOOL (image_map_tool);
GtkListStore *store; GtkListStore *store;
GtkCellRenderer *cell; GtkCellRenderer *cell;
GtkSizeGroup *label_group;
GtkWidget *main_vbox; GtkWidget *main_vbox;
GtkWidget *hbox; GtkWidget *hbox;
GtkWidget *label; GtkWidget *label;
@ -294,8 +293,7 @@ gimp_gegl_tool_dialog (GimpImageMapTool *image_map_tool)
GList *opclasses; GList *opclasses;
GList *iter; GList *iter;
main_vbox = gimp_image_map_tool_dialog_get_vbox (image_map_tool); main_vbox = gimp_image_map_tool_dialog_get_vbox (image_map_tool);
label_group = gimp_image_map_tool_dialog_get_label_group (image_map_tool);
/* The operation combo box */ /* The operation combo box */
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_hbox_new (FALSE, 6);
@ -306,8 +304,6 @@ gimp_gegl_tool_dialog (GimpImageMapTool *image_map_tool)
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label); gtk_widget_show (label);
gtk_size_group_add_widget (label_group, label);
store = gtk_list_store_new (1, G_TYPE_STRING); store = gtk_list_store_new (1, G_TYPE_STRING);
opclasses = gimp_get_geglopclasses (); opclasses = gimp_get_geglopclasses ();