minor cleanups.
2000-03-31 Michael Natterer <mitch@gimp.org> * app/gimpdnd.[ch]: minor cleanups. * libgimp/gimpwidgets.c: don't set a border width for the radio_group's vbox if no frame around it was requested. * plug-ins/common/sample_colorize.c: add a separator between image and sample. * plug-ins/common/iwarp.c: use the libgimp ui functions, removed callbacks, a global s/gfloat/gdouble/, replaced the booleans toggling the transform mode with a single variable containing an enum value, indentation.
This commit is contained in:

committed by
Michael Natterer

parent
753bc86ef0
commit
e44df51a6d
@ -305,7 +305,6 @@ gimp_radio_group_new (gboolean in_frame,
|
||||
va_list args;
|
||||
|
||||
vbox = gtk_vbox_new (FALSE, 1);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 2);
|
||||
|
||||
group = NULL;
|
||||
|
||||
@ -351,6 +350,8 @@ gimp_radio_group_new (gboolean in_frame,
|
||||
{
|
||||
GtkWidget *frame;
|
||||
|
||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 2);
|
||||
|
||||
frame = gtk_frame_new (frame_title);
|
||||
gtk_container_add (GTK_CONTAINER (frame), vbox);
|
||||
gtk_widget_show (vbox);
|
||||
@ -401,7 +402,6 @@ gimp_radio_group_new2 (gboolean in_frame,
|
||||
va_list args;
|
||||
|
||||
vbox = gtk_vbox_new (FALSE, 1);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 2);
|
||||
|
||||
group = NULL;
|
||||
|
||||
@ -444,6 +444,8 @@ gimp_radio_group_new2 (gboolean in_frame,
|
||||
{
|
||||
GtkWidget *frame;
|
||||
|
||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 2);
|
||||
|
||||
frame = gtk_frame_new (frame_title);
|
||||
gtk_container_add (GTK_CONTAINER (frame), vbox);
|
||||
gtk_widget_show (vbox);
|
||||
|
Reference in New Issue
Block a user