[gnome-flashback] screenshot: fix FlashspotData allocation
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] screenshot: fix FlashspotData allocation
- Date: Wed, 21 Jun 2017 12:41:52 +0000 (UTC)
commit d28381be3916d9d77d02341de1da6b933304fa38
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jun 21 15:17:03 2017 +0300
screenshot: fix FlashspotData allocation
gnome-flashback/libscreenshot/gf-screenshot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-flashback/libscreenshot/gf-screenshot.c b/gnome-flashback/libscreenshot/gf-screenshot.c
index ae35e18..3491362 100644
--- a/gnome-flashback/libscreenshot/gf-screenshot.c
+++ b/gnome-flashback/libscreenshot/gf-screenshot.c
@@ -895,7 +895,7 @@ flashspot_data_new (GfScreenshot *screenshot,
{
FlashspotData *data;
- data = (FlashspotData *) g_new0 (FlashspotData *, 1);
+ data = g_new0 (FlashspotData, 1);
data->screenshot = g_object_ref (screenshot);
data->sender = g_strdup (sender);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]