[gimp/gtk3-port: 199/237] 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: 199/237] app: disable calls to gtk_range_set_update_policy()
- Date: Sat, 7 May 2011 20:16:41 +0000 (UTC)
commit 3f2f88f38fb9cc8ee96bfd809950ffa17c7c2e01
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 6bcf882..9d0f64d 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 904c1bb..9a96b57 100644
--- a/app/tools/gimpforegroundselectoptions.c
+++ b/app/tools/gimpforegroundselectoptions.c
@@ -331,7 +331,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);
@@ -359,18 +361,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]