mirror of https://github.com/GNOME/gimp.git
app: get rid of GtkHSeparator and GtkHScale
This commit is contained in:
parent
5ece7a8d1f
commit
f34b879a2d
|
@ -1466,7 +1466,7 @@ gimp_gradient_tool_editor_init_stop_gui (GimpGradientTool *gradient_tool)
|
|||
row += 2;
|
||||
|
||||
/* the action buttons separator */
|
||||
separator = gtk_hseparator_new ();
|
||||
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
|
||||
gtk_table_attach (GTK_TABLE (table), separator, 0, 2, row, row + 1,
|
||||
GTK_SHRINK | GTK_FILL | GTK_EXPAND,
|
||||
GTK_SHRINK | GTK_FILL,
|
||||
|
@ -1577,7 +1577,7 @@ gimp_gradient_tool_editor_init_midpoint_gui (GimpGradientTool *gradient_tool)
|
|||
row++;
|
||||
|
||||
/* the action buttons separator */
|
||||
separator = gtk_hseparator_new ();
|
||||
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
|
||||
gtk_table_attach (GTK_TABLE (table), separator, 0, 2, row, row + 1,
|
||||
GTK_SHRINK | GTK_FILL | GTK_EXPAND,
|
||||
GTK_SHRINK | GTK_FILL,
|
||||
|
|
|
@ -129,7 +129,8 @@ gimp_icon_size_scale_init (GimpIconSizeScale *object)
|
|||
gtk_box_pack_start (GTK_BOX (box), private->combo, FALSE, FALSE, 0);
|
||||
gtk_widget_show (box);
|
||||
|
||||
private->scale = gtk_hscale_new_with_range (0.0, 3.0, 1.0);
|
||||
private->scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL,
|
||||
0.0, 3.0, 1.0);
|
||||
/* 'draw_value' updates round_digits. So set it first. */
|
||||
gtk_scale_set_draw_value (GTK_SCALE (private->scale), FALSE);
|
||||
gtk_range_set_round_digits (GTK_RANGE (private->scale), 0.0);
|
||||
|
|
Loading…
Reference in New Issue