]> git.0d.be Git - empathy.git/blobdiff - src/empathy-roster-window.h
roster-window: fix crash if empathy_chatroom_manager_find() failed
[empathy.git] / src / empathy-roster-window.h
index 54404ad382bc1a843d2ee6887e8b927faa041ffd..4620a998003550a7aaf2a5d183b41e40077b4db3 100644 (file)
@@ -41,18 +41,18 @@ typedef struct _EmpathyRosterWindowPriv EmpathyRosterWindowPriv;
 
 struct _EmpathyRosterWindow
 {
-  GtkWindow parent;
+  GtkApplicationWindow parent;
   EmpathyRosterWindowPriv *priv;
 };
 
 struct _EmpathyRosterWindowClass
 {
-  GtkWindowClass parent_class;
+  GtkApplicationWindowClass parent_class;
 };
 
 GType empathy_roster_window_get_type (void);
 
-GtkWidget *empathy_roster_window_dup (void);
+GtkWidget * empathy_roster_window_new (GtkApplication *app);
 
 void empathy_roster_window_show_preferences (EmpathyRosterWindow *self,
     const gchar *tab);
@@ -60,6 +60,8 @@ void empathy_roster_window_show_preferences (EmpathyRosterWindow *self,
 void empathy_roster_window_set_shell_running (EmpathyRosterWindow *self,
     gboolean shell_running);
 
+GMenuModel *empathy_roster_window_get_menu_model (EmpathyRosterWindow *self);
+
 G_END_DECLS
 
 #endif /* __EMPATHY_ROSTER_WINDOW_H__ */