[gimp] libgimpwidgets: no need to set a GtkRange's update-policy to CONTINUOUS
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: no need to set a GtkRange's update-policy to CONTINUOUS
- Date: Fri, 7 Jan 2011 14:10:27 +0000 (UTC)
commit 60ebedb31940110a62d8a9e3c513d3d83ed01b07
Author: Michael Natterer <mitch gimp org>
Date: Fri Jan 7 15:06:56 2011 +0100
libgimpwidgets: no need to set a GtkRange's update-policy to CONTINUOUS
because it's the default.
libgimpwidgets/gimpscrolledpreview.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libgimpwidgets/gimpscrolledpreview.c b/libgimpwidgets/gimpscrolledpreview.c
index eff5d05..a6c6ed7 100644
--- a/libgimpwidgets/gimpscrolledpreview.c
+++ b/libgimpwidgets/gimpscrolledpreview.c
@@ -172,8 +172,6 @@ gimp_scrolled_preview_init (GimpScrolledPreview *preview)
preview);
preview->hscr = gtk_hscrollbar_new (GTK_ADJUSTMENT (adj));
- gtk_range_set_update_policy (GTK_RANGE (preview->hscr),
- GTK_UPDATE_CONTINUOUS);
gtk_table_attach (GTK_TABLE (GIMP_PREVIEW (preview)->table),
preview->hscr, 0, 1, 1, 2,
GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0);
@@ -187,8 +185,6 @@ gimp_scrolled_preview_init (GimpScrolledPreview *preview)
preview);
preview->vscr = gtk_vscrollbar_new (GTK_ADJUSTMENT (adj));
- gtk_range_set_update_policy (GTK_RANGE (preview->vscr),
- GTK_UPDATE_CONTINUOUS);
gtk_table_attach (GTK_TABLE (GIMP_PREVIEW (preview)->table),
preview->vscr, 1, 2, 0, 1,
GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]