2
Copyright 2010 Canonical Ltd.
5
Conor Curran <conor.curran@canonical.com>
7
This program is free software: you can redistribute it and/or modify it
8
under the terms of the GNU General Public License version 3, as published
9
by the Free Software Foundation.
11
This program is distributed in the hope that it will be useful, but
12
WITHOUT ANY WARRANTY; without even the implied warranties of
13
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
14
PURPOSE. See the GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License along
17
with this program. If not, see <http://www.gnu.org/licenses/>.
19
#ifndef __SCRUB_WIDGET_H__
20
#define __SCRUB_WIDGET_H__
23
#include <glib-object.h>
24
#include <libdbusmenu-gtk/menuitem.h>
28
#define SCRUB_WIDGET_TYPE (scrub_widget_get_type ())
29
#define SCRUB_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRUB_WIDGET_TYPE, ScrubWidget))
30
#define SCRUB_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRUB_WIDGET_TYPE, ScrubWidgetClass))
31
#define IS_SCRUB_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRUB_WIDGET_TYPE))
32
#define IS_SCRUB_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRUB_WIDGET_TYPE))
33
#define SCRUB_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRUB_WIDGET_TYPE, ScrubWidgetClass))
35
typedef struct _ScrubWidget ScrubWidget;
36
typedef struct _ScrubWidgetClass ScrubWidgetClass;
38
struct _ScrubWidgetClass {
39
GObjectClass parent_class;
46
GType scrub_widget_get_type (void) G_GNUC_CONST;
47
GtkWidget* scrub_widget_new(DbusmenuMenuitem* twin_item);
48
GtkWidget* scrub_widget_get_ido_bar(ScrubWidget* self);