summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/system-tray')
-rw-r--r--applets/notification_area/system-tray/na-tray-child.c7
-rw-r--r--applets/notification_area/system-tray/na-tray-child.h4
-rw-r--r--applets/notification_area/system-tray/na-tray.c2
3 files changed, 10 insertions, 3 deletions
diff --git a/applets/notification_area/system-tray/na-tray-child.c b/applets/notification_area/system-tray/na-tray-child.c
index cc45abc3..cd7c305a 100644
--- a/applets/notification_area/system-tray/na-tray-child.c
+++ b/applets/notification_area/system-tray/na-tray-child.c
@@ -557,8 +557,13 @@ na_tray_child_set_composited (NaTrayChild *child,
* the child is shifted with respect to the background.
*/
void
-na_tray_child_force_redraw (NaTrayChild *child)
+na_tray_child_force_redraw (gpointer key,
+ gpointer value,
+ gpointer user_data)
{
+ (void) value;
+ (void) user_data;
+ NaTrayChild *child = key;
GtkWidget *widget = GTK_WIDGET (child);
if (gtk_widget_get_mapped (widget))
diff --git a/applets/notification_area/system-tray/na-tray-child.h b/applets/notification_area/system-tray/na-tray-child.h
index aa39658a..5865adab 100644
--- a/applets/notification_area/system-tray/na-tray-child.h
+++ b/applets/notification_area/system-tray/na-tray-child.h
@@ -73,7 +73,9 @@ char *na_tray_child_get_title (NaTrayChild *child);
gboolean na_tray_child_has_alpha (NaTrayChild *child);
void na_tray_child_set_composited (NaTrayChild *child,
gboolean composited);
-void na_tray_child_force_redraw (NaTrayChild *child);
+void na_tray_child_force_redraw (gpointer key,
+ gpointer value,
+ gpointer user_data);
void na_tray_child_get_wm_class (NaTrayChild *child,
char **res_name,
char **res_class);
diff --git a/applets/notification_area/system-tray/na-tray.c b/applets/notification_area/system-tray/na-tray.c
index 8cf1b9ec..fee75dc8 100644
--- a/applets/notification_area/system-tray/na-tray.c
+++ b/applets/notification_area/system-tray/na-tray.c
@@ -715,7 +715,7 @@ idle_redraw_cb (NaTray *tray)
NaTrayPrivate *priv = tray->priv;
g_hash_table_foreach (priv->trays_screen->icon_table,
- (GHFunc) na_tray_child_force_redraw, NULL);
+ na_tray_child_force_redraw, NULL);
priv->idle_redraw_id = 0;