[vte/vte-next] vteapp: Fix -Wdeprecated-declarations warnings



commit d101101900a0121a1b878cc480c1614d49de1905
Author: Christian Persch <chpe gnome org>
Date:   Wed Apr 18 00:00:47 2012 +0200

    vteapp: Fix -Wdeprecated-declarations warnings

 src/vteapp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index f491eef..c5e78ea 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -906,7 +906,8 @@ main(int argc, char **argv)
 
 	if (!use_scrolled_window) {
 		/* Create the scrollbar for the widget. */
-		scrollbar = gtk_vscrollbar_new(gtk_scrollable_get_vadjustment(GTK_SCROLLABLE(terminal)));
+		scrollbar = gtk_scrollbar_new(GTK_ORIENTATION_VERTICAL,
+                                              gtk_scrollable_get_vadjustment(GTK_SCROLLABLE(terminal)));
 		gtk_box_pack_start(GTK_BOX(hbox), scrollbar, FALSE, FALSE, 0);
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]