diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-07-02 15:05:14 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-07-02 15:05:14 +0000 |
commit | f75f53f940814bd8e09a2335b63d300386106b98 (patch) | |
tree | 0aaec3ca2c96fa82647add3e150accdc21bb8341 /demos | |
parent | 99905891089f12eb679283d6f1d7e26cece35e27 (diff) | |
download | gdk-pixbuf-f75f53f940814bd8e09a2335b63d300386106b98.tar.gz |
Fix 346375
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/editable_cells.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/gtk-demo/editable_cells.c b/demos/gtk-demo/editable_cells.c index 9a04dbed8..1bf3f9d3b 100644 --- a/demos/gtk-demo/editable_cells.c +++ b/demos/gtk-demo/editable_cells.c @@ -121,7 +121,10 @@ create_numbers_model (void) /* add numbers */ for (i = 0; i < N_NUMBERS; i++) { - char str[2] = { '0' + i, '\0' }; + char str[2]; + + str[0] = '0' + i; + str[1] = '\0'; gtk_list_store_append (model, &iter); |