[gnome-initial-setup] gis-driver: NULL-terminate g_object_new call
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] gis-driver: NULL-terminate g_object_new call
- Date: Thu, 8 Nov 2012 21:51:01 +0000 (UTC)
commit f641900a828c167d77bbf5855dff756595f9002f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Nov 8 16:50:19 2012 -0500
gis-driver: NULL-terminate g_object_new call
Why isn't g_object_new marked with G_GNUC_NULL_TERMINATED? I always
forget this.
gnome-initial-setup/gis-driver.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/gis-driver.c b/gnome-initial-setup/gis-driver.c
index 603b45c..03288f4 100644
--- a/gnome-initial-setup/gis-driver.c
+++ b/gnome-initial-setup/gis-driver.c
@@ -216,5 +216,6 @@ GisDriver *
gis_driver_new (void)
{
return g_object_new (GIS_TYPE_DRIVER,
- "application-id", "org.gnome.InitialSetup");
+ "application-id", "org.gnome.InitialSetup",
+ NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]