+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
+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
+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
+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
+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
+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
+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
* to an array of GDK Atoms
*/
gint i;
- GdkAtom *ret_atoms = g_new (GdkAtom *, ret_nitems);
+ GdkAtom *ret_atoms = g_new (GdkAtom, ret_nitems);
Atom *xatoms = (Atom *)ret_data;
data = (guchar *)ret_atoms;
FALSE,
GDK_BUTTON_RELEASE_MASK |
GDK_POINTER_MOTION_MASK,
- FALSE,
+ NULL,
NULL,
timestamp);
gtk_accel_label_refetch (GtkAccelLabel *accel_label)
{
GtkAccelLabelClass *class;
- gchar *utf8;
g_return_val_if_fail (GTK_IS_ACCEL_LABEL (accel_label), FALSE);
GdkEventExpose *event)
{
GtkBin *bin;
- gint focus_width;
g_return_val_if_fail (widget != NULL, FALSE);
* segment just before our current segment.
*/
g_assert (seg != real->segment);
- while (seg != real->segment)
+ do
{
prev_seg = seg;
prev_any_seg = any_seg;
while (seg->char_count == 0)
seg = seg->next;
}
+ while (seg != real->segment);
g_assert (prev_seg != NULL);
g_assert (prev_any_seg != NULL);