[gimp/gtk3-port: 215/246] app: disable calls to gtk_range_set_update_policy()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 215/246] app: disable calls to gtk_range_set_update_policy()
- Date: Wed, 2 Mar 2011 09:39:32 +0000 (UTC)
commit f3d65dd98a4b07a5dd7c69f3731832483238958d
Author: Michael Natterer <mitch gimp org>
Date: Fri Jan 14 10:16:04 2011 +0100
app: disable calls to gtk_range_set_update_policy()
app/display/gimpnavigationeditor.c | 2 ++
app/tools/gimpforegroundselectoptions.c | 8 ++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpnavigationeditor.c b/app/display/gimpnavigationeditor.c
index 8a642de..dc0f1f0 100644
--- a/app/display/gimpnavigationeditor.c
+++ b/app/display/gimpnavigationeditor.c
@@ -417,7 +417,9 @@ gimp_navigation_editor_new_private (GimpMenuFactory *menu_factory,
editor);
hscale = gtk_hscale_new (GTK_ADJUSTMENT (editor->zoom_adjustment));
+#if 0
gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_DELAYED);
+#endif
gtk_scale_set_draw_value (GTK_SCALE (hscale), FALSE);
gtk_box_pack_start (GTK_BOX (hbox), hscale, TRUE, TRUE, 0);
gtk_widget_show (hscale);
diff --git a/app/tools/gimpforegroundselectoptions.c b/app/tools/gimpforegroundselectoptions.c
index 1ff4f02..1684c1d 100644
--- a/app/tools/gimpforegroundselectoptions.c
+++ b/app/tools/gimpforegroundselectoptions.c
@@ -328,7 +328,9 @@ gimp_foreground_select_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (table);
scale = gimp_prop_hscale_new (config, "smoothness", 0.1, 1.0, 0);
+#if 0
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
+#endif
gtk_scale_set_value_pos (GTK_SCALE (scale), GTK_POS_RIGHT);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Smoothing:"), 0.0, 0.5, scale, 2, FALSE);
@@ -356,18 +358,24 @@ gimp_foreground_select_options_gui (GimpToolOptions *tool_options)
adj = gimp_prop_opacity_entry_new (config, "sensitivity-l",
GTK_TABLE (table), 0, row++, "L");
+#if 0
gtk_range_set_update_policy (GTK_RANGE (GIMP_SCALE_ENTRY_SCALE (adj)),
GTK_UPDATE_DELAYED);
+#endif
adj = gimp_prop_opacity_entry_new (config, "sensitivity-a",
GTK_TABLE (table), 0, row++, "a");
+#if 0
gtk_range_set_update_policy (GTK_RANGE (GIMP_SCALE_ENTRY_SCALE (adj)),
GTK_UPDATE_DELAYED);
+#endif
adj = gimp_prop_opacity_entry_new (config, "sensitivity-b",
GTK_TABLE (table), 0, row++, "b");
+#if 0
gtk_range_set_update_policy (GTK_RANGE (GIMP_SCALE_ENTRY_SCALE (adj)),
GTK_UPDATE_DELAYED);
+#endif
return vbox;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]