diff options
author | Darin Adler <darin@src.gnome.org> | 2001-12-15 17:17:56 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-12-15 17:17:56 +0000 |
commit | 20a870a6e068c852ce37c3bb072ee6e3ef11527a (patch) | |
tree | e1f3dcf685fcead81d8a02ffb0588cb52e5c8a73 /ChangeLog.pre-2-0 | |
parent | dd00b8878e129c4eae5d2ba57bb583a7459497c6 (diff) | |
download | gtk+-20a870a6e068c852ce37c3bb072ee6e3ef11527a.tar.gz |
Fix some warnings.
* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
Restructure loop to get rid of uninitialized variable warning. Also
gives a tiny efficiency gain.
Diffstat (limited to 'ChangeLog.pre-2-0')
-rw-r--r-- | ChangeLog.pre-2-0 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index bb168ecd2e..72748c64e4 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,16 @@ +2001-12-15 Darin Adler <darin@bentspoon.com> + + Fix some warnings. + + * gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in + g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *). + * gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL + * gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local. + * gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local. + * gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment): + Restructure loop to get rid of uninitialized variable warning. Also + gives a tiny efficiency gain. + 2001-12-15 Murray Cumming <murrayc@usa.net> * Fixed first arg type of GtkScale's "format_value" signal's |