diff options
Diffstat (limited to 'savers/gs-theme-window.h.orig')
-rw-r--r-- | savers/gs-theme-window.h.orig | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/savers/gs-theme-window.h.orig b/savers/gs-theme-window.h.orig new file mode 100644 index 0000000..cfc5edf --- /dev/null +++ b/savers/gs-theme-window.h.orig @@ -0,0 +1,72 @@ +/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 8; tab-width: 8 -*- + * + * gs-theme-window.h - special toplevel for screensavers + * + * Copyright (C) 2005 Ray Strode <[email protected]> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2, 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 Lesser General Public License for more + * details. + * + * You should have received a copy of the GNU Lesser General + * Public License along with this program; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Originally written by: Ray Strode <[email protected]> + */ + +#ifndef GS_THEME_WINDOW_H +#define GS_THEME_WINDOW_H + +#include <glib.h> +#include <glib-object.h> + +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +#define GS_TYPE_THEME_WINDOW (gs_theme_window_get_type ()) +#define GS_THEME_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GS_TYPE_THEME_WINDOW, GSThemeWindow)) +#define GS_THEME_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GS_TYPE_THEME_WINDOW, GSThemeWindowClass)) +#define GS_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GS_TYPE_THEME_WINDOW)) +#define GS_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GS_TYPE_THEME_WINDOW)) +#define GS_THEME_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GS_TYPE_THEME_WINDOW, GSThemeWindowClass)) + +typedef struct _GSThemeWindow GSThemeWindow; +typedef struct _GSThemeWindowClass GSThemeWindowClass; + +struct _GSThemeWindow +{ + GtkWindow parent; + + /*< private >*/ + /* reserved for priv pointer */ + gpointer reserved; +}; + +struct _GSThemeWindowClass +{ + GtkWindowClass parent_class; + + /* for signals later if needed */ + gpointer reserved_1; + gpointer reserved_2; + gpointer reserved_3; + gpointer reserved_4; +}; + +#ifndef GS_HIDE_FUNCTION_DECLARATIONS +GType gs_theme_window_get_type (void); +GtkWidget *gs_theme_window_new (void); +#endif + +G_END_DECLS +#endif /* GS_THEME_WINDOW_H */ |