[gimp] app: no need to set GTK_UPDATE_DELAYED on the levels scale
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: no need to set GTK_UPDATE_DELAYED on the levels scale
- Date: Fri, 7 Jan 2011 18:34:33 +0000 (UTC)
commit 4aa36044f70b6e813b58e49e63a2ab1647f4df53
Author: Michael Natterer <mitch gimp org>
Date: Fri Jan 7 19:33:45 2011 +0100
app: no need to set GTK_UPDATE_DELAYED on the levels scale
because we idle preview anyway in GimpImageMap.
app/tools/gimpposterizetool.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpposterizetool.c b/app/tools/gimpposterizetool.c
index 86a3e00..fb5172f 100644
--- a/app/tools/gimpposterizetool.c
+++ b/app/tools/gimpposterizetool.c
@@ -215,7 +215,6 @@ gimp_posterize_tool_dialog (GimpImageMapTool *image_map_tool)
GimpPosterizeTool *posterize_tool = GIMP_POSTERIZE_TOOL (image_map_tool);
GtkWidget *main_vbox;
GtkWidget *table;
- GtkWidget *slider;
GtkObject *data;
main_vbox = gimp_image_map_tool_dialog_get_vbox (image_map_tool);
@@ -237,9 +236,6 @@ gimp_posterize_tool_dialog (GimpImageMapTool *image_map_tool)
posterize_tool->levels_data = GTK_ADJUSTMENT (data);
- slider = GIMP_SCALE_ENTRY_SCALE (data);
- gtk_range_set_update_policy (GTK_RANGE (slider), GTK_UPDATE_DELAYED);
-
g_signal_connect (posterize_tool->levels_data, "value-changed",
G_CALLBACK (gimp_posterize_tool_levels_changed),
posterize_tool);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]