diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-13 09:11:38 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-13 09:11:38 +0200 |
commit | 04baf260b65ac95e1b4aa6f90c63e7ca06997ead (patch) | |
tree | 702bd2bc84523c6949042d98de7413261af87455 /src | |
parent | 7db2204cc52bfc30fe40d22b69239b8fb6c3cd11 (diff) | |
parent | e66c68e2420ed2e2b4ce531dea46dc04b3db297b (diff) | |
download | ayatana-indicator-display-04baf260b65ac95e1b4aa6f90c63e7ca06997ead.tar.gz ayatana-indicator-display-04baf260b65ac95e1b4aa6f90c63e7ca06997ead.tar.bz2 ayatana-indicator-display-04baf260b65ac95e1b4aa6f90c63e7ca06997ead.zip |
Merge branch 'tari01-pr/fix-double-declaration-of-create-desktop-menu'
Attributes GH PR #26: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/26
Diffstat (limited to 'src')
-rw-r--r-- | src/rotation-lock.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/rotation-lock.cpp b/src/rotation-lock.cpp index e655eaf..b27be71 100644 --- a/src/rotation-lock.cpp +++ b/src/rotation-lock.cpp @@ -171,21 +171,6 @@ private: return G_MENU_MODEL(menu); } - GMenuModel* create_desktop_menu() - { - GMenu* menu; - GMenuItem* menu_item; - - menu = g_menu_new(); - - menu_item = g_menu_item_new(_("Rotation Lock"), "indicator.rotation-lock"); - g_menu_item_set_attribute(menu_item, "x-ayatana-type", "s", "org.ayatana.indicator.switch"); - g_menu_append_item(menu, menu_item); - g_object_unref(menu_item); - - return G_MENU_MODEL(menu); - } - void update_phone_header() { Header h; |