aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenumodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libqmenumodel/src/unitymenumodel.cpp')
-rw-r--r--libqmenumodel/src/unitymenumodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp
index 9cad955..c7afa2c 100644
--- a/libqmenumodel/src/unitymenumodel.cpp
+++ b/libqmenumodel/src/unitymenumodel.cpp
@@ -114,7 +114,7 @@ public:
gtk_menu_tracker_item_activated (item);
}
- virtual void updateState(const QVariant& vvalue)
+ virtual void changeState(const QVariant& vvalue)
{
GtkMenuTrackerItem* item;
@@ -122,7 +122,7 @@ public:
if (!item) return;
GVariant* data = Converter::toGVariant(vvalue);
- gtk_menu_tracker_item_update_state (item, data);
+ gtk_menu_tracker_item_change_state (item, data);
g_variant_unref(data);
}