[gtk+] widget-factory: Do no crash on variadic arguments
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget-factory: Do no crash on variadic arguments
- Date: Sat, 12 Jul 2014 09:44:06 +0000 (UTC)
commit 1aa54bb9461f75047714500bab3329ca95a5df89
Author: Stefano Facchini <stefano facchini gmail com>
Date: Sat Jul 12 11:35:42 2014 +0200
widget-factory: Do no crash on variadic arguments
demos/widget-factory/widget-factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 9d2eab0..698acfb 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -467,7 +467,7 @@ populate_colors (GtkWidget *widget)
"halign", GTK_ALIGN_START,
"valign", GTK_ALIGN_CENTER,
"margin", 6,
- "xalign", 0,
+ "xalign", 0.0,
NULL);
gtk_box_pack_start (GTK_BOX (row), label, TRUE, TRUE, 0);
gdk_rgba_parse (&rgba, colors[i].color);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]