forked from AuroraMiddleware/gtk
99203f09f2
Make the new examples use GTK+ coding style.
38 lines
685 B
C
38 lines
685 B
C
#include "exampleapp.h"
|
|
#include "exampleappwin.h"
|
|
#include <gtk/gtk.h>
|
|
|
|
struct _ExampleAppWindow
|
|
{
|
|
GtkApplicationWindow parent;
|
|
};
|
|
|
|
struct _ExampleAppWindowClass
|
|
{
|
|
GtkApplicationWindowClass parent_class;
|
|
};
|
|
|
|
G_DEFINE_TYPE(ExampleAppWindow, example_app_window, GTK_TYPE_APPLICATION_WINDOW);
|
|
|
|
static void
|
|
example_app_window_init (ExampleAppWindow *app)
|
|
{
|
|
}
|
|
|
|
static void
|
|
example_app_window_class_init (ExampleAppWindowClass *class)
|
|
{
|
|
}
|
|
|
|
ExampleAppWindow *
|
|
example_app_window_new (ExampleApp *app)
|
|
{
|
|
return g_object_new (EXAMPLE_APP_WINDOW_TYPE, "application", app, NULL);
|
|
}
|
|
|
|
void
|
|
example_app_window_open (ExampleAppWindow *win,
|
|
GFile *file)
|
|
{
|
|
}
|