gimp r28208 - in trunk: . app/widgets
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r28208 - in trunk: . app/widgets
- Date: Sun, 22 Mar 2009 23:13:16 +0000 (UTC)
Author: mitch
Date: Sun Mar 22 23:13:15 2009
New Revision: 28208
URL: http://svn.gnome.org/viewvc/gimp?rev=28208&view=rev
Log:
2009-03-23 Michael Natterer <mitch gimp org>
* app/widgets/gimpcontainertreeview-dnd.c: use GtkAdjustment's
accessors.
Modified:
trunk/ChangeLog
trunk/app/widgets/gimpcontainertreeview-dnd.c
Modified: trunk/app/widgets/gimpcontainertreeview-dnd.c
==============================================================================
--- trunk/app/widgets/gimpcontainertreeview-dnd.c (original)
+++ trunk/app/widgets/gimpcontainertreeview-dnd.c Sun Mar 22 23:13:15 2009
@@ -189,7 +189,10 @@
else
new_value = gtk_adjustment_get_value (adj) + SCROLL_STEP;
- new_value = CLAMP (new_value, adj->lower, adj->upper - adj->page_size);
+ new_value = CLAMP (new_value,
+ gtk_adjustment_get_lower (adj),
+ gtk_adjustment_get_upper (adj) -
+ gtk_adjustment_get_page_size (adj));
gtk_adjustment_set_value (adj, new_value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]