[gnome-flashback] shell: fix CallbackData allocation
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] shell: fix CallbackData allocation
- Date: Sat, 11 Jun 2016 10:20:34 +0000 (UTC)
commit 2496894a1a9843076bc6755489abb452c2abc532
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 c576be8..3d74d24 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]