diff options
author | Robert Tari <robert@tari.in> | 2025-03-07 16:49:48 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2025-03-07 16:49:48 +0100 |
commit | 13ea932892cba6913f1dd24ef0e807940fe011dc (patch) | |
tree | 943876988e4ea5c2ec4123da842592d210c5e662 /src/app-indicator.c | |
parent | e3c1dba0945518840a7674e6b244ecbc4892d29f (diff) | |
download | libayatana-appindicator-13ea932892cba6913f1dd24ef0e807940fe011dc.tar.gz libayatana-appindicator-13ea932892cba6913f1dd24ef0e807940fe011dc.tar.bz2 libayatana-appindicator-13ea932892cba6913f1dd24ef0e807940fe011dc.zip |
Deprecate libayatana-appindicator
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r-- | src/app-indicator.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c index 87e66ed..833cb90 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -1842,6 +1842,8 @@ app_indicator_new (const gchar *id, const gchar *icon_name, AppIndicatorCategory category) { + g_warning ("libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code."); + AppIndicator *indicator = g_object_new (APP_INDICATOR_TYPE, PROP_ID_S, id, PROP_CATEGORY_S, category_from_enum (category), @@ -1871,6 +1873,8 @@ app_indicator_new_with_path (const gchar *id, AppIndicatorCategory category, const gchar *icon_theme_path) { + g_warning ("libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code."); + AppIndicator *indicator = g_object_new (APP_INDICATOR_TYPE, PROP_ID_S, id, PROP_CATEGORY_S, category_from_enum (category), |