[gimp/gtk3-port: 73/227] app: use the new GtkScrollable API instead of deprecated tree view API
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 73/227] app: use the new GtkScrollable API instead of deprecated tree view API
- Date: Mon, 28 Sep 2015 15:23:16 +0000 (UTC)
commit 2de5b79f6649b4f66d8b8dd04a7df390fcb924a6
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 22 17:17:27 2010 +0200
app: use the new GtkScrollable API instead of deprecated tree view API
app/widgets/gimpcontainertreeview-dnd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcontainertreeview-dnd.c b/app/widgets/gimpcontainertreeview-dnd.c
index d32507a..a414838 100644
--- a/app/widgets/gimpcontainertreeview-dnd.c
+++ b/app/widgets/gimpcontainertreeview-dnd.c
@@ -224,7 +224,7 @@ gimp_container_tree_view_scroll_timeout (gpointer data)
GtkAdjustment *adj;
gdouble new_value;
- adj = gtk_tree_view_get_vadjustment (GTK_TREE_VIEW (tree_view->view));
+ adj = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (tree_view->view));
#ifdef SCROLL_DEBUG
g_print ("scroll_timeout: scrolling by %d\n", SCROLL_STEP);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]