Now using AgWindow instead of a simple GtkActionWindow

This commit is contained in:
2013-09-08 23:02:05 +02:00
parent 50fc3f6f70
commit cdcf486165
2 changed files with 5 additions and 43 deletions

View File

@@ -1,6 +1,7 @@
#include <glib/gi18n.h>
#include "ag-app.h"
#include "ag-window.h"
#include "config.h"
struct _AgAppPrivate {
@@ -48,7 +49,7 @@ new_window_cb(GSimpleAction *action, GVariant *parameter, gpointer user_data)
AgApp *self = AG_APP(user_data);
GtkWidget *window;
window = gtk_application_window_new(GTK_APPLICATION(self));
window = ag_window_new(self);
gtk_application_add_window(GTK_APPLICATION(self), GTK_WINDOW(window));
gtk_widget_show_all(window);
}