aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-07-25 15:51:57 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-07-25 15:51:57 -0500
commit8a9b4b895d4cf4930ff6dd6865639397aed05c54 (patch)
treec3948d3b6b401c18176aa937903cce5ef431d0f9 /src
parent2ef49dc4fcf1b156310cd937ab8a5ff65afb1874 (diff)
downloadayatana-ido-8a9b4b895d4cf4930ff6dd6865639397aed05c54.tar.gz
ayatana-ido-8a9b4b895d4cf4930ff6dd6865639397aed05c54.tar.bz2
ayatana-ido-8a9b4b895d4cf4930ff6dd6865639397aed05c54.zip
add make the type macro for IdoBasicMenuItem follow the standard naming scheme
Diffstat (limited to 'src')
-rw-r--r--src/idobasicmenuitem.c6
-rw-r--r--src/idobasicmenuitem.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/idobasicmenuitem.c b/src/idobasicmenuitem.c
index b006d6a..a1eadbf 100644
--- a/src/idobasicmenuitem.c
+++ b/src/idobasicmenuitem.c
@@ -186,7 +186,7 @@ ido_basic_menu_item_init (IdoBasicMenuItem *self)
GtkGrid * grid;
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- IDO_BASIC_MENU_ITEM_TYPE,
+ IDO_TYPE_BASIC_MENU_ITEM,
IdoBasicMenuItemPrivate);
p = self->priv;
@@ -228,7 +228,7 @@ ido_basic_menu_item_init (IdoBasicMenuItem *self)
GtkWidget *
ido_basic_menu_item_new (void)
{
- return GTK_WIDGET (g_object_new (IDO_BASIC_MENU_ITEM_TYPE, NULL));
+ return GTK_WIDGET (g_object_new (IDO_TYPE_BASIC_MENU_ITEM, NULL));
}
void
@@ -358,7 +358,7 @@ ido_progress_menu_item_new_from_model (GMenuItem * menu_item,
}
g_assert (n <= G_N_ELEMENTS (parameters));
- ido_menu_item = g_object_newv (IDO_BASIC_MENU_ITEM_TYPE, n, parameters);
+ ido_menu_item = g_object_newv (IDO_TYPE_BASIC_MENU_ITEM, n, parameters);
for (i=0; i<n; i++)
g_value_unset (&parameters[i].value);
diff --git a/src/idobasicmenuitem.h b/src/idobasicmenuitem.h
index 0da9086..01aa4b3 100644
--- a/src/idobasicmenuitem.h
+++ b/src/idobasicmenuitem.h
@@ -24,9 +24,9 @@
G_BEGIN_DECLS
-#define IDO_BASIC_MENU_ITEM_TYPE (ido_basic_menu_item_get_type ())
-#define IDO_BASIC_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IDO_BASIC_MENU_ITEM_TYPE, IdoBasicMenuItem))
-#define IDO_IS_BASIC_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IDO_BASIC_MENU_ITEM_TYPE))
+#define IDO_TYPE_BASIC_MENU_ITEM (ido_basic_menu_item_get_type ())
+#define IDO_BASIC_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IDO_TYPE_BASIC_MENU_ITEM, IdoBasicMenuItem))
+#define IDO_IS_BASIC_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IDO_TYPE_BASIC_MENU_ITEM))
typedef struct _IdoBasicMenuItem IdoBasicMenuItem;
typedef struct _IdoBasicMenuItemClass IdoBasicMenuItemClass;