[gnome-dictionary] window: Base on GtkApplicationWindow rather than GtkWindow



commit 9006f1a8b3538f3cfb023ffc42ee0fa879e29435
Author: Florian MÃllner <fmuellner gnome org>
Date:   Tue May 8 14:53:03 2012 +0200

    window: Base on GtkApplicationWindow rather than GtkWindow
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674939

 src/gdict-window.c |    2 +-
 src/gdict-window.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gdict-window.c b/src/gdict-window.c
index af2b96c..c6a9849 100644
--- a/src/gdict-window.c
+++ b/src/gdict-window.c
@@ -98,7 +98,7 @@ static const guint n_drop_types = G_N_ELEMENTS (drop_types);
 
 
 
-G_DEFINE_TYPE (GdictWindow, gdict_window, GTK_TYPE_WINDOW);
+G_DEFINE_TYPE (GdictWindow, gdict_window, GTK_TYPE_APPLICATION_WINDOW);
 
 
 static void
diff --git a/src/gdict-window.h b/src/gdict-window.h
index 74b65e6..f0fffef 100644
--- a/src/gdict-window.h
+++ b/src/gdict-window.h
@@ -48,7 +48,7 @@ typedef struct _GdictWindowClass GdictWindowClass;
 
 struct _GdictWindow
 {
-  GtkWindow parent_instance;
+  GtkApplicationWindow parent_instance;
   
   GtkWidget *main_box;
   GtkWidget *menubar;
@@ -118,7 +118,7 @@ struct _GdictWindow
 
 struct _GdictWindowClass
 {
-  GtkWindowClass parent_class;
+  GtkApplicationWindowClass parent_class;
   
   void (*created) (GdictWindow *parent_window,
   		   GdictWindow *new_window);



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