diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-06-02 06:26:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-06-02 06:26:54 +0000 |
commit | b699efc45112b0c96a4e25ad8960ed99efb837bb (patch) | |
tree | 0c6d7405b922520a5a2dafd8e2232c59ca95bb42 /gtk/gtkclist.c | |
parent | 14ab278788649dda5708e23c012b27f79f58333a (diff) |
Changes to structure initializations not to initialize some but not all
members, from Joerg Mayer.
svn path=/trunk/; revision=3501
Diffstat (limited to 'gtk/gtkclist.c')
-rw-r--r-- | gtk/gtkclist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index 366547f5db..4ab9bdabe9 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -2393,7 +2393,7 @@ gtk_clist_set_shift (GtkCList *clist, gint vertical, gint horizontal) { - GtkRequisition requisition = { 0 }; + GtkRequisition requisition = { 0, 0 }; GtkCListRow *clist_row; g_return_if_fail (clist != NULL); @@ -3216,7 +3216,7 @@ gtk_clist_set_cell_style (GtkCList *clist, gint column, GtkStyle *style) { - GtkRequisition requisition = { 0 }; + GtkRequisition requisition = { 0, 0 }; GtkCListRow *clist_row; g_return_if_fail (clist != NULL); @@ -7120,7 +7120,7 @@ move_vertical (GtkCList *clist, static gint horizontal_timeout (GtkCList *clist) { - GdkEventMotion event = { 0 }; + GdkEventMotion event; GDK_THREADS_ENTER (); @@ -7139,7 +7139,7 @@ horizontal_timeout (GtkCList *clist) static gint vertical_timeout (GtkCList *clist) { - GdkEventMotion event = { 0 }; + GdkEventMotion event; GDK_THREADS_ENTER (); @@ -7344,7 +7344,7 @@ gtk_clist_merge (GtkCList *clist, GList *a, /* first list to merge */ GList *b) /* second list to merge */ { - GList z = { 0 }; /* auxiliary node */ + GList z = { NULL, NULL, NULL }; /* auxiliary node */ GList *c; gint cmp; |