grim/guifications3

e62da38a5799
removed gflib-query-plugins since we're using gplugin now...
/*
* Guifications - The end-all, be-all notification framework
* Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
*
* 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/>.
*/
#if HAVE_CONFIG_H
# include "../config.h"
#endif
#include <gflib-gtk/gf_gtk_gc.h>
#include <gflib-gtk/gf_gtk_ui.h>
#include <gflib-gtk/gf_gtk_intl.h>
/******************************************************************************
* Globals
*****************************************************************************/
static GfUIClass *parent_class = NULL;
/******************************************************************************
* Object Stuff
*****************************************************************************/
static void
gf_gtk_ui_finalize(GObject *obj) {
G_OBJECT_CLASS(parent_class)->finalize(obj);
}
static void
gf_gtk_ui_class_init(GfGtkUIClass *klass) {
GObjectClass *obj_class = G_OBJECT_CLASS(klass);
GfUIClass *ui_class = GF_UI_CLASS(klass);
parent_class = g_type_class_peek_parent(klass);
obj_class->finalize = gf_gtk_ui_finalize;
ui_class->name = N_("Gtk");
ui_class->gc_type = GF_TYPE_GTK_GC;
}
/******************************************************************************
* Drawable API
*****************************************************************************/
GType
gf_ui_get_gtype(void) {
static GType type = 0;
if(type == 0) {
static const GTypeInfo info = {
sizeof(GfGtkUIClass),
NULL,
NULL,
(GClassInitFunc)gf_gtk_ui_class_init,
NULL,
NULL,
sizeof(GfGtkUI),
0,
NULL,
};
type = g_type_register_static(GF_TYPE_UI,
"GfGtkUI",
&info, 0);
}
return type;
}