[gtk-vnc] Build with GSEAL. Closes #612727.



commit a25a8e73445df8baa2d3acea3a69a277fa094841
Author: Jonh Wendell <jwendell gnome org>
Date:   Fri Jun 11 17:35:59 2010 -0300

    Build with GSEAL. Closes #612727.
    
    Now we require gtk+ 2.18.

 configure.ac     |    2 +-
 src/vncdisplay.c |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a228a20..3b79c30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ GOBJECT_REQUIRED=2.10.0
 AC_SUBST(GOBJECT_REQUIRED)
 GDK_PIXBUF_REQUIRED=2.10.0
 AC_SUBST(GDK_PIXBUF_REQUIRED)
-GTK_REQUIRED=2.14.0
+GTK_REQUIRED=2.18.0
 AC_SUBST(GTK_REQUIRED)
 GNUTLS_REQUIRED=1.4.0
 AC_SUBST(GNUTLS_REQUIRED)
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index a031125..3559a9f 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -1784,11 +1784,10 @@ static void vnc_display_class_init(VncDisplayClass *klass)
 
 static void vnc_display_init(VncDisplay *display)
 {
-	GtkObject *obj = GTK_OBJECT(display);
 	GtkWidget *widget = GTK_WIDGET(display);
 	VncDisplayPrivate *priv;
 
-	GTK_WIDGET_SET_FLAGS(obj, GTK_CAN_FOCUS);
+	gtk_widget_set_can_focus (widget, TRUE);
 
 	vnc_display_keyval_set_entries();
 



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