aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-note.c
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2009-05-08 17:16:58 +0200
committerAlberto Garcia <agarcia@igalia.com>2009-05-08 17:16:58 +0200
commite371081aaf336c2f55cac8c6f47b30a20132ec30 (patch)
treeb8111d731b05fe37e22340865d1b863bf7217569 /hildon/hildon-note.c
parentb372129b20b2c2a567b38e028cd26c353c421fe7 (diff)
HildonNote: terminate the list of parameters in g_object_set() calls
* hildon/hildon-note.c (hildon_note_new_information_with_icon_name) (hildon_note_new_confirmation_with_icon_name): Terminate the list of parameters in g_object_set() calls Fixes: NB#115166 (Formatting memory card is not taking place)
Diffstat (limited to 'hildon/hildon-note.c')
-rw-r--r--hildon/hildon-note.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hildon/hildon-note.c b/hildon/hildon-note.c
index 814e456..2fa15f2 100644
--- a/hildon/hildon-note.c
+++ b/hildon/hildon-note.c
@@ -851,7 +851,7 @@ hildon_note_new_confirmation_with_icon_name (GtkWindow *parent,
GtkWidget *dialog;
dialog = hildon_note_new_confirmation (parent, description);
- g_object_set (dialog, "icon", icon_name);
+ g_object_set (dialog, "icon", icon_name, NULL);
return dialog;
}
@@ -915,7 +915,7 @@ hildon_note_new_information_with_icon_name (GtkWindow * parent,
GtkWidget *dialog;
dialog = hildon_note_new_information (parent, description);
- g_object_set (dialog, "icon", icon_name);
+ g_object_set (dialog, "icon", icon_name, NULL);
return dialog;
}