mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Silence compiler warnings.
2005-11-28 Matthias Clasen <mclasen@redhat.com> * gobjectnotifyqueue.c (g_object_notify_queue_thaw): * gobject-query.c (main): Silence compiler warnings. * glib-genmarshal.c (main): Use G_N_ELEMENTS.
This commit is contained in:
parent
0f1e8fb313
commit
d98433b85e
@ -1,3 +1,10 @@
|
||||
2005-11-28 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gobjectnotifyqueue.c (g_object_notify_queue_thaw):
|
||||
* gobject-query.c (main): Silence compiler warnings.
|
||||
|
||||
* glib-genmarshal.c (main): Use G_N_ELEMENTS.
|
||||
|
||||
2005-11-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gboxed.h: Declare g_hash_table_get_type.
|
||||
|
@ -622,7 +622,7 @@ main (int argc,
|
||||
|
||||
/* add standard marshallers of the GObject library */
|
||||
if (std_includes)
|
||||
for (i = 0; i < sizeof (gobject_marshallers) / sizeof (gobject_marshallers[0]); i++)
|
||||
for (i = 0; i < G_N_ELEMENTS (gobject_marshallers); i++)
|
||||
{
|
||||
gchar *tmp = g_strdup (gobject_marshallers[i]);
|
||||
|
||||
|
@ -122,7 +122,7 @@ main (gint argc,
|
||||
GLogLevelFlags fatal_mask;
|
||||
gboolean gen_froots = 0;
|
||||
gboolean gen_tree = 0;
|
||||
guint i;
|
||||
gint i;
|
||||
gchar *iindent = "";
|
||||
|
||||
f_out = stdout;
|
||||
|
@ -106,7 +106,7 @@ g_object_notify_queue_thaw (GObject *object,
|
||||
for (slist = nqueue->pspecs; slist; slist = slist->next)
|
||||
{
|
||||
GParamSpec *pspec = slist->data;
|
||||
gint i = 0;
|
||||
guint i = 0;
|
||||
|
||||
/* dedup, make pspecs in the list unique */
|
||||
redo_dedup_check:
|
||||
|
Loading…
Reference in New Issue
Block a user