diff options
author | Johan Dahlin <johan@src.gnome.org> | 2005-10-03 17:11:31 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2005-10-03 17:11:31 +0000 |
commit | 94edbd3337865711a07a5f810d42cfcbf9ae8ec5 (patch) | |
tree | 4d3f976a232b8009ad9ea2068d2cd59ad0ce06fa | |
parent | 43275352d29ef349f79e17af386218da1a0e4fdc (diff) | |
download | pygobject-94edbd3337865711a07a5f810d42cfcbf9ae8ec5.tar.gz |
Fix gcc 4.0 warnings.PYGTK_2_8_1
* gobject/pygobject.c: (PyGProps_length):
* gtk/gdk.defs:
* gtk/gdk.override:
* gtk/gtk.defs:
* gtk/gtk.override:
Fix gcc 4.0 warnings.
-rw-r--r-- | gobject/pygobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/pygobject.c b/gobject/pygobject.c index 398d915b..da2e6101 100644 --- a/gobject/pygobject.c +++ b/gobject/pygobject.c @@ -337,13 +337,13 @@ static int PyGProps_length(PyGProps *self) { GObjectClass *class; - int n_props; + guint n_props; class = g_type_class_ref(self->gtype); g_object_class_list_properties(class, &n_props); g_type_class_unref(class); - return n_props; + return (int)n_props; } static PySequenceMethods _PyGProps_as_sequence = { |