[Xfce4-commits] <squeeze:stephan/new-ui> Compile against gtk-3

Stephan Arts noreply at xfce.org
Fri May 10 10:48:02 CEST 2013


Updating branch refs/heads/stephan/new-ui
         to f61e6d9e80945af9d08a9b3081f741de71abb3c5 (commit)
       from 598b63a1f455e998f23d89308a4ca2a4c5a70bfd (commit)

commit f61e6d9e80945af9d08a9b3081f741de71abb3c5
Author: Stephan Arts <stephan at xfce.org>
Date:   Fri May 10 10:29:52 2013 +0200

    Compile against gtk-3

 src/main_window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index 7bf094b..338b9a1 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -204,7 +204,7 @@ sq_main_window_class_init(SQMainWindowClass *window_class)
 {
 	GObjectClass *object_class = G_OBJECT_CLASS (window_class);
 
-	parent_class = gtk_type_class (GTK_TYPE_WINDOW);
+    parent_class = g_type_class_peek_parent(window_class);
 
 	object_class->dispose	  = sq_main_window_dispose;
 }


More information about the Xfce4-commits mailing list