mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
avoid void pointer math
* gtk/gtkclist.c: avoid void pointer math * gtk/gtkhscale.c * gtk/gtkhscrollbar.c * gtk/gtkvscale.c * gtk/gtkvscrollbar.c: removed trailing , from enums * gtk/gtksignal.c: can't use enums as a bitfield type, use guint * gtk/testgtk.c: removed C++ comment added by owenpoo -Yosh
This commit is contained in:
parent
939c818395
commit
6af277b502
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkclist.c: avoid void pointer math
|
||||
|
||||
* gtk/gtkhscale.c
|
||||
* gtk/gtkhscrollbar.c
|
||||
* gtk/gtkvscale.c
|
||||
* gtk/gtkvscrollbar.c: removed trailing , from enums
|
||||
|
||||
* gtk/gtksignal.c: can't use enums as a bitfield type, use guint
|
||||
|
||||
* gtk/testgtk.c: removed C++ comment added by owenpoo
|
||||
|
||||
Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
|
||||
|
@ -1,3 +1,16 @@
|
||||
Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkclist.c: avoid void pointer math
|
||||
|
||||
* gtk/gtkhscale.c
|
||||
* gtk/gtkhscrollbar.c
|
||||
* gtk/gtkvscale.c
|
||||
* gtk/gtkvscrollbar.c: removed trailing , from enums
|
||||
|
||||
* gtk/gtksignal.c: can't use enums as a bitfield type, use guint
|
||||
|
||||
* gtk/testgtk.c: removed C++ comment added by owenpoo
|
||||
|
||||
Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
|
||||
|
@ -1,3 +1,16 @@
|
||||
Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkclist.c: avoid void pointer math
|
||||
|
||||
* gtk/gtkhscale.c
|
||||
* gtk/gtkhscrollbar.c
|
||||
* gtk/gtkvscale.c
|
||||
* gtk/gtkvscrollbar.c: removed trailing , from enums
|
||||
|
||||
* gtk/gtksignal.c: can't use enums as a bitfield type, use guint
|
||||
|
||||
* gtk/testgtk.c: removed C++ comment added by owenpoo
|
||||
|
||||
Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
|
||||
|
@ -1,3 +1,16 @@
|
||||
Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkclist.c: avoid void pointer math
|
||||
|
||||
* gtk/gtkhscale.c
|
||||
* gtk/gtkhscrollbar.c
|
||||
* gtk/gtkvscale.c
|
||||
* gtk/gtkvscrollbar.c: removed trailing , from enums
|
||||
|
||||
* gtk/gtksignal.c: can't use enums as a bitfield type, use guint
|
||||
|
||||
* gtk/testgtk.c: removed C++ comment added by owenpoo
|
||||
|
||||
Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
|
||||
|
@ -1,3 +1,16 @@
|
||||
Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkclist.c: avoid void pointer math
|
||||
|
||||
* gtk/gtkhscale.c
|
||||
* gtk/gtkhscrollbar.c
|
||||
* gtk/gtkvscale.c
|
||||
* gtk/gtkvscrollbar.c: removed trailing , from enums
|
||||
|
||||
* gtk/gtksignal.c: can't use enums as a bitfield type, use guint
|
||||
|
||||
* gtk/testgtk.c: removed C++ comment added by owenpoo
|
||||
|
||||
Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
|
||||
|
@ -1,3 +1,16 @@
|
||||
Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkclist.c: avoid void pointer math
|
||||
|
||||
* gtk/gtkhscale.c
|
||||
* gtk/gtkhscrollbar.c
|
||||
* gtk/gtkvscale.c
|
||||
* gtk/gtkvscrollbar.c: removed trailing , from enums
|
||||
|
||||
* gtk/gtksignal.c: can't use enums as a bitfield type, use guint
|
||||
|
||||
* gtk/testgtk.c: removed C++ comment added by owenpoo
|
||||
|
||||
Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
|
||||
|
@ -1,3 +1,16 @@
|
||||
Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkclist.c: avoid void pointer math
|
||||
|
||||
* gtk/gtkhscale.c
|
||||
* gtk/gtkhscrollbar.c
|
||||
* gtk/gtkvscale.c
|
||||
* gtk/gtkvscrollbar.c: removed trailing , from enums
|
||||
|
||||
* gtk/gtksignal.c: can't use enums as a bitfield type, use guint
|
||||
|
||||
* gtk/testgtk.c: removed C++ comment added by owenpoo
|
||||
|
||||
Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
|
||||
|
@ -2891,7 +2891,7 @@ real_row_move (GtkCList *clist,
|
||||
list->data = GINT_TO_POINTER (dest_row);
|
||||
else if (first <= GPOINTER_TO_INT (list->data) &&
|
||||
last >= GPOINTER_TO_INT (list->data))
|
||||
list->data += d;
|
||||
list->data = GINT_TO_POINTER (GPOINTER_TO_INT (list->data) + d);
|
||||
}
|
||||
|
||||
if (clist->focus_row == source_row)
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
enum {
|
||||
ARG_0,
|
||||
ARG_ADJUSTMENT,
|
||||
ARG_ADJUSTMENT
|
||||
};
|
||||
|
||||
static void gtk_hscale_class_init (GtkHScaleClass *klass);
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
enum {
|
||||
ARG_0,
|
||||
ARG_ADJUSTMENT,
|
||||
ARG_ADJUSTMENT
|
||||
};
|
||||
|
||||
static void gtk_hscrollbar_class_init (GtkHScrollbarClass *klass);
|
||||
|
@ -57,7 +57,7 @@ struct _GtkSignal
|
||||
guint function_offset;
|
||||
GtkSignalMarshaller marshaller;
|
||||
GtkType return_val;
|
||||
GtkSignalRunType signal_flags : 16;
|
||||
guint signal_flags : 16;
|
||||
guint nparams : 16;
|
||||
GtkType *params;
|
||||
GHookList *hook_list;
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
enum {
|
||||
ARG_0,
|
||||
ARG_ADJUSTMENT,
|
||||
ARG_ADJUSTMENT
|
||||
};
|
||||
|
||||
static void gtk_vscale_class_init (GtkVScaleClass *klass);
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
enum {
|
||||
ARG_0,
|
||||
ARG_ADJUSTMENT,
|
||||
ARG_ADJUSTMENT
|
||||
};
|
||||
|
||||
static void gtk_vscrollbar_class_init (GtkVScrollbarClass *klass);
|
||||
|
@ -8169,7 +8169,7 @@ void create_layout (void)
|
||||
{
|
||||
sprintf(buf, "Button %d, %d", i, j);
|
||||
if ((i + j) % 2)
|
||||
// button = gtk_button_new_with_label (buf);
|
||||
/* button = gtk_button_new_with_label (buf); */
|
||||
button = gtk_combo_new();
|
||||
else
|
||||
button = gtk_label_new (buf);
|
||||
|
@ -8169,7 +8169,7 @@ void create_layout (void)
|
||||
{
|
||||
sprintf(buf, "Button %d, %d", i, j);
|
||||
if ((i + j) % 2)
|
||||
// button = gtk_button_new_with_label (buf);
|
||||
/* button = gtk_button_new_with_label (buf); */
|
||||
button = gtk_combo_new();
|
||||
else
|
||||
button = gtk_label_new (buf);
|
||||
|
Loading…
Reference in New Issue
Block a user