diff options
author | David King <davidk@gnome.org> | 2013-07-04 09:48:52 +0100 |
---|---|---|
committer | David King <davidk@gnome.org> | 2013-09-05 14:20:44 +0100 |
commit | 1b1bceedee06afa98c4156940605de2b531ce801 (patch) | |
tree | 774ab8c74d50d9f20742309868aad85b78cd6829 /src/gl-window.h | |
parent | 30dabf5fa1ad5631cd668e28b240caa060f090b9 (diff) | |
download | gnome-logs-1b1bceedee06afa98c4156940605de2b531ce801.tar.gz |
Add GtkApplicationWindow subclass
Diffstat (limited to 'src/gl-window.h')
-rw-r--r-- | src/gl-window.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/gl-window.h b/src/gl-window.h new file mode 100644 index 0000000..7123745 --- /dev/null +++ b/src/gl-window.h @@ -0,0 +1,46 @@ +/* + * GNOME Logs - View and search logs + * Copyright (C) 2013 Red Hat, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef GL_WINDOW_H_ +#define GL_WINDOW_H_ + +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +typedef struct +{ + /*< private >*/ + GtkApplicationWindow parent_instance; +} GlWindow; + +typedef struct +{ + /*< private >*/ + GtkApplicationWindowClass parent_class; +} GlWindowClass; + +#define GL_TYPE_WINDOW (gl_window_get_type ()) +#define GL_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GL_TYPE_WINDOW, GlWindow)) + +GType gl_window_get_type (void); +GtkWidget * gl_window_new (GtkApplication *application); + +G_END_DECLS + +#endif /* GL_WINDOW_H_ */ |