[Xfce4-commits] [apps/xfce4-notifyd] 02/02: Silence compiler warnings
noreply at xfce.org
noreply at xfce.org
Tue Feb 6 08:27:16 CET 2018
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-notifyd.
commit f3df9fb97d064443d37cafade5304878938c345c
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Tue Feb 6 01:38:38 2018 +0100
Silence compiler warnings
---
panel-plugin/notification-plugin-log.c | 6 +-----
panel-plugin/notification-plugin.c | 3 +++
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/panel-plugin/notification-plugin-log.c b/panel-plugin/notification-plugin-log.c
index d9d515f..173c8f6 100644
--- a/panel-plugin/notification-plugin-log.c
+++ b/panel-plugin/notification-plugin-log.c
@@ -171,7 +171,7 @@ notification_plugin_menu_populate (NotificationPlugin *notification_plugin)
/* Notifications are only shown until LOG_DISPLAY_LIMIT is hit */
for (i = numberof_groups; i > log_length; i--) {
GtkWidget *grid;
- GtkWidget *summary, *body, *app_icon, *expire_timeout;
+ GtkWidget *summary, *body, *app_icon;
const gchar *group = groups[i];
const char *format = "<b>\%s</b>";
const char *tooltip_format = "<b>\%s</b> - \%s\n\%s";
@@ -247,10 +247,6 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
G_GNUC_END_IGNORE_DEPRECATIONS
gtk_image_set_pixel_size (GTK_IMAGE (app_icon), log_icon_size);
- tmp = g_key_file_get_string (notify_log, group, "expire-timeout", NULL);
- expire_timeout = gtk_label_new (tmp);
- g_free (tmp);
-
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 6);
diff --git a/panel-plugin/notification-plugin.c b/panel-plugin/notification-plugin.c
index 883bf71..d2b85fb 100644
--- a/panel-plugin/notification-plugin.c
+++ b/panel-plugin/notification-plugin.c
@@ -40,6 +40,9 @@ notification_plugin_construct (XfcePanelPlugin *panel_plugin);
/* register the plugin */
XFCE_PANEL_PLUGIN_REGISTER (notification_plugin_construct);
+GtkWidget *notification_plugin_menu_new (NotificationPlugin *notification_plugin);
+void notification_plugin_popup_menu (NotificationPlugin *notification_plugin);
+
GtkWidget *
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list