diff options
author | Ted Gould <ted@gould.cx> | 2010-03-23 16:22:57 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-23 16:22:57 -0500 |
commit | ae623e9492ce9324b8fb7236b83c681e472328ca (patch) | |
tree | ae69ebdd1eef3964a1974c4168d72e451f90283a | |
parent | aad1a1cfdf3051929a6788b480c090f7f4e88ef8 (diff) | |
download | ayatana-indicator-messages-ae623e9492ce9324b8fb7236b83c681e472328ca.tar.gz ayatana-indicator-messages-ae623e9492ce9324b8fb7236b83c681e472328ca.tar.bz2 ayatana-indicator-messages-ae623e9492ce9324b8fb7236b83c681e472328ca.zip |
Removing app-gtk-menu-item as it really wasn't needed.
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/app-gtk-menu-item.c | 57 | ||||
-rw-r--r-- | src/app-gtk-menu-item.h | 32 |
3 files changed, 0 insertions, 91 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 32f0b38..c96ef2d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,8 +8,6 @@ libexec_PROGRAMS = indicator-messages-service messaginglibdir = $(INDICATORDIR) messaginglib_LTLIBRARIES = libmessaging.la libmessaging_la_SOURCES = \ - app-gtk-menu-item.h \ - app-gtk-menu-item.c \ indicator-messages.c \ messages-service-client.h \ dbus-data.h diff --git a/src/app-gtk-menu-item.c b/src/app-gtk-menu-item.c deleted file mode 100644 index 9a34f16..0000000 --- a/src/app-gtk-menu-item.c +++ /dev/null @@ -1,57 +0,0 @@ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "app-gtk-menu-item.h" - -typedef struct _AppGtkMenuItemPrivate AppGtkMenuItemPrivate; -struct _AppGtkMenuItemPrivate { - int dummy; -}; - -#define APP_GTK_MENU_ITEM_GET_PRIVATE(o) \ -(G_TYPE_INSTANCE_GET_PRIVATE ((o), APP_GTK_MENU_ITEM_TYPE, AppGtkMenuItemPrivate)) - -static void app_gtk_menu_item_class_init (AppGtkMenuItemClass *klass); -static void app_gtk_menu_item_init (AppGtkMenuItem *self); -static void app_gtk_menu_item_dispose (GObject *object); -static void app_gtk_menu_item_finalize (GObject *object); - -G_DEFINE_TYPE (AppGtkMenuItem, app_gtk_menu_item, GTK_TYPE_CHECK_MENU_ITEM); - -static void -app_gtk_menu_item_class_init (AppGtkMenuItemClass *klass) -{ - GObjectClass *object_class = G_OBJECT_CLASS (klass); - - g_type_class_add_private (klass, sizeof (AppGtkMenuItemPrivate)); - - object_class->dispose = app_gtk_menu_item_dispose; - object_class->finalize = app_gtk_menu_item_finalize; - - return; -} - -static void -app_gtk_menu_item_init (AppGtkMenuItem *self) -{ - - return; -} - -static void -app_gtk_menu_item_dispose (GObject *object) -{ - - G_OBJECT_CLASS (app_gtk_menu_item_parent_class)->dispose (object); - return; -} - -static void -app_gtk_menu_item_finalize (GObject *object) -{ - - - G_OBJECT_CLASS (app_gtk_menu_item_parent_class)->finalize (object); - return; -} diff --git a/src/app-gtk-menu-item.h b/src/app-gtk-menu-item.h deleted file mode 100644 index feb3139..0000000 --- a/src/app-gtk-menu-item.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef __APP_GTK_MENU_ITEM_H__ -#define __APP_GTK_MENU_ITEM_H__ - -#include <glib.h> -#include <glib-object.h> -#include <gtk/gtk.h> - -G_BEGIN_DECLS - -#define APP_GTK_MENU_ITEM_TYPE (app_gtk_menu_item_get_type ()) -#define APP_GTK_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APP_GTK_MENU_ITEM_TYPE, AppGtkMenuItem)) -#define APP_GTK_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APP_GTK_MENU_ITEM_TYPE, AppGtkMenuItemClass)) -#define IS_APP_GTK_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APP_GTK_MENU_ITEM_TYPE)) -#define IS_APP_GTK_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APP_GTK_MENU_ITEM_TYPE)) -#define APP_GTK_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APP_GTK_MENU_ITEM_TYPE, AppGtkMenuItemClass)) - -typedef struct _AppGtkMenuItem AppGtkMenuItem; -typedef struct _AppGtkMenuItemClass AppGtkMenuItemClass; - -struct _AppGtkMenuItemClass { - GtkCheckMenuItemClass parent_class; -}; - -struct _AppGtkMenuItem { - GtkCheckMenuItem parent; -}; - -GType app_gtk_menu_item_get_type (void); - -G_END_DECLS - -#endif |