summaryrefslogtreecommitdiff
path: root/gtk/gtkimagemenuitem.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-02-22 05:20:14 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-02-22 05:20:14 +0000
commite6f6ee193d81fdb7009cb324cf9d90e3d69b6616 (patch)
treee92996618c630662ff0dc07d62b26c24d5419c20 /gtk/gtkimagemenuitem.c
parent005f5773dfea6048fbf458511238baa184bcf07d (diff)
downloadgtk+-e6f6ee193d81fdb7009cb324cf9d90e3d69b6616.tar.gz
Rename gtk_activatable_reset to gtk_activatable_sync_action_properties,
* gtk/gtk.symbols: * gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to gtk_activatable_sync_action_properties, since the previous name was deemed too generic. Update all implementations. svn path=/trunk/; revision=22389
Diffstat (limited to 'gtk/gtkimagemenuitem.c')
-rw-r--r--gtk/gtkimagemenuitem.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index 04cc352ff8..8948c9312a 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -72,10 +72,10 @@ static void gtk_image_menu_item_screen_changed (GtkWidget *widget,
static void gtk_image_menu_item_recalculate (GtkImageMenuItem *image_menu_item);
static void gtk_image_menu_item_activatable_interface_init (GtkActivatableIface *iface);
-static void gtk_image_menu_item_activatable_update (GtkActivatable *activatable,
+static void gtk_image_menu_item_update (GtkActivatable *activatable,
GtkAction *action,
const gchar *property_name);
-static void gtk_image_menu_item_activatable_reset (GtkActivatable *activatable,
+static void gtk_image_menu_item_sync_action_properties (GtkActivatable *activatable,
GtkAction *action);
typedef struct {
@@ -552,8 +552,8 @@ static void
gtk_image_menu_item_activatable_interface_init (GtkActivatableIface *iface)
{
parent_activatable_iface = g_type_interface_peek_parent (iface);
- iface->update = gtk_image_menu_item_activatable_update;
- iface->reset = gtk_image_menu_item_activatable_reset;
+ iface->update = gtk_image_menu_item_update;
+ iface->sync_action_properties = gtk_image_menu_item_sync_action_properties;
}
static gboolean
@@ -609,10 +609,10 @@ activatable_update_icon_name (GtkImageMenuItem *image_menu_item, GtkAction *acti
}
}
-static void
-gtk_image_menu_item_activatable_update (GtkActivatable *activatable,
- GtkAction *action,
- const gchar *property_name)
+static void
+gtk_image_menu_item_update (GtkActivatable *activatable,
+ GtkAction *action,
+ const gchar *property_name)
{
GtkImageMenuItem *image_menu_item;
GtkWidget *image;
@@ -635,8 +635,8 @@ gtk_image_menu_item_activatable_update (GtkActivatable *activatable,
}
static void
-gtk_image_menu_item_activatable_reset (GtkActivatable *activatable,
- GtkAction *action)
+gtk_image_menu_item_sync_action_properties (GtkActivatable *activatable,
+ GtkAction *action)
{
GtkImageMenuItem *image_menu_item;
GtkWidget *image;
@@ -644,7 +644,7 @@ gtk_image_menu_item_activatable_reset (GtkActivatable *activatable,
image_menu_item = GTK_IMAGE_MENU_ITEM (activatable);
- parent_activatable_iface->reset (activatable, action);
+ parent_activatable_iface->sync_action_properties (activatable, action);
if (!action)
return;