aboutsummaryrefslogtreecommitdiff
path: root/tools/indicator-loader.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-12 13:07:56 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-12 13:07:56 +0200
commit025c376068f63d8c2aa5899a3c0b1b827370da28 (patch)
tree99d5ce170fa25fd17f5d4569e8b3b3656c9fe44b /tools/indicator-loader.c
parentaa6723b9cc3dcac5b9bdd87944a8c99b74f16ba2 (diff)
parentc277aa68455b232c37a4c52b39e948a6ab0b0e11 (diff)
downloadlibayatana-indicator-025c376068f63d8c2aa5899a3c0b1b827370da28.tar.gz
libayatana-indicator-025c376068f63d8c2aa5899a3c0b1b827370da28.tar.bz2
libayatana-indicator-025c376068f63d8c2aa5899a3c0b1b827370da28.zip
Merge branch 'tari01-pr/move-to-cmake'
Attributes GH PR #38: https://github.com/AyatanaIndicators/libayatana-indicator/pull/38
Diffstat (limited to 'tools/indicator-loader.c')
-rw-r--r--tools/indicator-loader.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c
index 5b236db..159b17b 100644
--- a/tools/indicator-loader.c
+++ b/tools/indicator-loader.c
@@ -3,11 +3,13 @@
* and during development of them.
*
* Copyright 2009 Canonical Ltd.
+ * Copyright 2021 AyatanaIndicators
*
* Authors:
* Ted Gould <ted@canonical.com>
* Lars Uebernickel <lars.uebernickel@canonical.com>
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -17,7 +19,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License version 3.0 for more details.
- *
+ *
* You should have received a copy of the GNU General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
@@ -25,9 +27,9 @@
#include <gtk/gtk.h>
#include <libayatana-ido/libayatana-ido.h>
-#include <libayatana-indicator/indicator-object.h>
+#include "indicator-object.h"
#if GTK_CHECK_VERSION (3,0,0)
- #include <libayatana-indicator/indicator-ng.h>
+ #include "indicator-ng.h"
#endif
static GHashTable * entry_to_menu_item = NULL;
@@ -159,7 +161,7 @@ entry_added (IndicatorObject * io,
gtk_widget_show (menu_item);
}
-static void
+static void
entry_removed (__attribute__((unused)) IndicatorObject * io,
IndicatorObjectEntry * entry,
__attribute__((unused)) gpointer user_data)