[gnome-flashback/gnome-3-18] shell: fix CallbackData allocation



commit 5ae54e415302d0559ca762a5a3aa6bb7a5740808
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Jun 11 13:20:11 2016 +0300

    shell: fix CallbackData allocation

 .../libshell/flashback-monitor-labeler.c           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-flashback/libshell/flashback-monitor-labeler.c 
b/gnome-flashback/libshell/flashback-monitor-labeler.c
index f8e547b..e6e21b0 100644
--- a/gnome-flashback/libshell/flashback-monitor-labeler.c
+++ b/gnome-flashback/libshell/flashback-monitor-labeler.c
@@ -284,7 +284,7 @@ flashback_monitor_labeler_hide (FlashbackMonitorLabeler *labeler,
 {
   CallbackData *data;
 
-  data = (CallbackData *) g_new0 (CallbackData *, 1);
+  data = g_new0 (CallbackData, 1);
   data->labeler = g_object_ref (labeler);
   data->sender = g_strdup (sender);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]