changed reversed_[12] to reserved_[12] in gtk_*_get_type functions.

Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>

        * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
        functions.

        * gdk/gdkwindow.c:
        * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
        to XFree() calls.
This commit is contained in:
Tim Janik 1998-07-04 15:31:30 +00:00 committed by Tim Janik
parent c2eb7c28fe
commit 90408c4641
103 changed files with 303 additions and 196 deletions

View File

@ -1,3 +1,12 @@
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
functions.
* gdk/gdkwindow.c:
* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
to XFree() calls.
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since

View File

@ -1,3 +1,12 @@
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
functions.
* gdk/gdkwindow.c:
* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
to XFree() calls.
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since

View File

@ -1,3 +1,12 @@
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
functions.
* gdk/gdkwindow.c:
* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
to XFree() calls.
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since

View File

@ -1,3 +1,12 @@
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
functions.
* gdk/gdkwindow.c:
* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
to XFree() calls.
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since

View File

@ -1,3 +1,12 @@
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
functions.
* gdk/gdkwindow.c:
* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
to XFree() calls.
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since

View File

@ -1,3 +1,12 @@
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
functions.
* gdk/gdkwindow.c:
* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
to XFree() calls.
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since

View File

@ -1,3 +1,12 @@
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
functions.
* gdk/gdkwindow.c:
* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
to XFree() calls.
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since

View File

@ -147,7 +147,7 @@ gdk_input_motion_events (GdkWindow *window,
coords[i].ytilt = 0.0;
}
XFree(xcoords);
XFree (xcoords);
return coords;
}

View File

@ -46,12 +46,16 @@ gdk_atom_name (GdkAtom atom)
if (gdk_error_code == -1)
{
if (t)
XFree (t);
return NULL;
}
else
{
name = g_strdup (t);
XFree (t);
if (t)
XFree (t);
return name;
}
@ -95,6 +99,7 @@ gdk_property_get (GdkWindow *window,
xwindow = gdk_root_window;
}
ret_data = NULL;
XGetWindowProperty (xdisplay, xwindow, property,
offset, (length + 3) / 4, pdelete,
type, &ret_prop_type, &ret_format,
@ -113,6 +118,7 @@ gdk_property_get (GdkWindow *window,
if (ret_prop_type != type)
{
gchar *rn, *pn;
XFree (ret_data);
rn = gdk_atom_name(ret_prop_type);
pn = gdk_atom_name(type);

View File

@ -109,6 +109,7 @@ gdk_selection_property_get (GdkWindow *requestor,
if (private->destroyed)
return 0;
t = NULL;
XGetWindowProperty (private->xdisplay, private->xwindow,
gdk_selection_property, 0, 0, False,
AnyPropertyType, &prop_type, &prop_format,
@ -125,7 +126,11 @@ gdk_selection_property_get (GdkWindow *requestor,
return 0;
}
XFree (t);
if (t)
{
t = NULL;
XFree (t);
}
/* Add on an extra byte to handle null termination. X guarantees
that t will be 1 longer than nbytes and null terminated */
@ -144,7 +149,8 @@ gdk_selection_property_get (GdkWindow *requestor,
{
*data = g_new (guchar, length);
memcpy (*data, t, length);
XFree (t);
if (t)
XFree (t);
return length-1;
}
else
@ -205,6 +211,8 @@ gdk_text_property_to_text_list (GdkAtom encoding, gint format,
void
gdk_free_text_list (gchar **list)
{
g_return_if_fail (list != NULL);
XFreeStringList (list);
}

View File

@ -163,7 +163,8 @@ gdk_visual_init (void)
}
}
XFree (visual_list);
if (visual_list)
XFree (visual_list);
for (i = 0; i < nvisuals; i++)
{

View File

@ -476,7 +476,8 @@ gdk_window_foreign_new (guint32 anid)
/* FIXME: This is pretty expensive. Maybe the caller should supply
* the parent */
XQueryTree (gdk_display, anid, &root, &parent, &children, &nchildren);
XFree (children);
if (children)
XFree (children);
private->parent = gdk_xid_table_lookup (parent);
parent_private = (GdkWindowPrivate *)private->parent;
@ -1449,7 +1450,8 @@ gdk_window_get_children (GdkWindow *window)
children = g_list_prepend (children, child);
}
XFree (xchildren);
if (xchildren)
XFree (xchildren);
}
return children;
@ -1525,17 +1527,20 @@ gdk_window_add_colormap_windows (GdkWindow *window)
if (window_private->destroyed)
return;
old_windows = NULL;
if (!XGetWMColormapWindows (toplevel_private->xdisplay,
toplevel_private->xwindow,
&old_windows, &count))
{
old_windows = NULL;
count = 0;
}
for (i = 0; i < count; i++)
if (old_windows[i] == window_private->xwindow)
return;
{
XFree (old_windows);
return;
}
new_windows = g_new (Window, count + 1);
@ -1949,7 +1954,8 @@ gdk_window_set_icon_name (GdkWindow *window,
XSetWMIconName (window_private->xdisplay, window_private->xwindow,
&property);
XFree(property.value);
if (property.value)
XFree (property.value);
}
void

View File

@ -267,8 +267,9 @@ gxi_find_root_child(Display *dpy, Window w)
do
{
w = parent;
XQueryTree(dpy,w,&root,&parent,&children,&nchildren);
if (children) XFree(children);
XQueryTree (dpy, w, &root, &parent, &children, &nchildren);
if (children)
XFree (children);
}
while (parent != root);

View File

@ -147,7 +147,7 @@ gdk_input_motion_events (GdkWindow *window,
coords[i].ytilt = 0.0;
}
XFree(xcoords);
XFree (xcoords);
return coords;
}

View File

@ -46,12 +46,16 @@ gdk_atom_name (GdkAtom atom)
if (gdk_error_code == -1)
{
if (t)
XFree (t);
return NULL;
}
else
{
name = g_strdup (t);
XFree (t);
if (t)
XFree (t);
return name;
}
@ -95,6 +99,7 @@ gdk_property_get (GdkWindow *window,
xwindow = gdk_root_window;
}
ret_data = NULL;
XGetWindowProperty (xdisplay, xwindow, property,
offset, (length + 3) / 4, pdelete,
type, &ret_prop_type, &ret_format,
@ -113,6 +118,7 @@ gdk_property_get (GdkWindow *window,
if (ret_prop_type != type)
{
gchar *rn, *pn;
XFree (ret_data);
rn = gdk_atom_name(ret_prop_type);
pn = gdk_atom_name(type);

View File

@ -109,6 +109,7 @@ gdk_selection_property_get (GdkWindow *requestor,
if (private->destroyed)
return 0;
t = NULL;
XGetWindowProperty (private->xdisplay, private->xwindow,
gdk_selection_property, 0, 0, False,
AnyPropertyType, &prop_type, &prop_format,
@ -125,7 +126,11 @@ gdk_selection_property_get (GdkWindow *requestor,
return 0;
}
XFree (t);
if (t)
{
t = NULL;
XFree (t);
}
/* Add on an extra byte to handle null termination. X guarantees
that t will be 1 longer than nbytes and null terminated */
@ -144,7 +149,8 @@ gdk_selection_property_get (GdkWindow *requestor,
{
*data = g_new (guchar, length);
memcpy (*data, t, length);
XFree (t);
if (t)
XFree (t);
return length-1;
}
else
@ -205,6 +211,8 @@ gdk_text_property_to_text_list (GdkAtom encoding, gint format,
void
gdk_free_text_list (gchar **list)
{
g_return_if_fail (list != NULL);
XFreeStringList (list);
}

View File

@ -163,7 +163,8 @@ gdk_visual_init (void)
}
}
XFree (visual_list);
if (visual_list)
XFree (visual_list);
for (i = 0; i < nvisuals; i++)
{

View File

@ -476,7 +476,8 @@ gdk_window_foreign_new (guint32 anid)
/* FIXME: This is pretty expensive. Maybe the caller should supply
* the parent */
XQueryTree (gdk_display, anid, &root, &parent, &children, &nchildren);
XFree (children);
if (children)
XFree (children);
private->parent = gdk_xid_table_lookup (parent);
parent_private = (GdkWindowPrivate *)private->parent;
@ -1449,7 +1450,8 @@ gdk_window_get_children (GdkWindow *window)
children = g_list_prepend (children, child);
}
XFree (xchildren);
if (xchildren)
XFree (xchildren);
}
return children;
@ -1525,17 +1527,20 @@ gdk_window_add_colormap_windows (GdkWindow *window)
if (window_private->destroyed)
return;
old_windows = NULL;
if (!XGetWMColormapWindows (toplevel_private->xdisplay,
toplevel_private->xwindow,
&old_windows, &count))
{
old_windows = NULL;
count = 0;
}
for (i = 0; i < count; i++)
if (old_windows[i] == window_private->xwindow)
return;
{
XFree (old_windows);
return;
}
new_windows = g_new (Window, count + 1);
@ -1949,7 +1954,8 @@ gdk_window_set_icon_name (GdkWindow *window,
XSetWMIconName (window_private->xdisplay, window_private->xwindow,
&property);
XFree(property.value);
if (property.value)
XFree (property.value);
}
void

View File

@ -267,8 +267,9 @@ gxi_find_root_child(Display *dpy, Window w)
do
{
w = parent;
XQueryTree(dpy,w,&root,&parent,&children,&nchildren);
if (children) XFree(children);
XQueryTree (dpy, w, &root, &parent, &children, &nchildren);
if (children)
XFree (children);
}
while (parent != root);

View File

@ -64,8 +64,8 @@ gtk_accel_label_get_type (void)
sizeof (GtkAccelLabelClass),
(GtkClassInitFunc) gtk_accel_label_class_init,
(GtkObjectInitFunc) gtk_accel_label_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -48,8 +48,8 @@ gtk_adjustment_get_type (void)
sizeof (GtkAdjustmentClass),
(GtkClassInitFunc) gtk_adjustment_class_init,
(GtkObjectInitFunc) gtk_adjustment_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -57,8 +57,8 @@ gtk_alignment_get_type (void)
sizeof (GtkAlignmentClass),
(GtkClassInitFunc) gtk_alignment_class_init,
(GtkObjectInitFunc) gtk_alignment_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -54,8 +54,8 @@ gtk_arrow_get_type (void)
sizeof (GtkArrowClass),
(GtkClassInitFunc) gtk_arrow_class_init,
(GtkObjectInitFunc) gtk_arrow_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -51,8 +51,8 @@ gtk_aspect_frame_get_type (void)
sizeof (GtkAspectFrameClass),
(GtkClassInitFunc) gtk_aspect_frame_class_init,
(GtkObjectInitFunc) gtk_aspect_frame_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -43,8 +43,8 @@ gtk_button_box_get_type (void)
sizeof (GtkButtonBoxClass),
(GtkClassInitFunc) gtk_button_box_class_init,
(GtkObjectInitFunc) gtk_button_box_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -54,8 +54,8 @@ gtk_bin_get_type (void)
sizeof (GtkBinClass),
(GtkClassInitFunc) gtk_bin_class_init,
(GtkObjectInitFunc) gtk_bin_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -82,8 +82,8 @@ gtk_box_get_type (void)
sizeof (GtkBoxClass),
(GtkClassInitFunc) gtk_box_class_init,
(GtkObjectInitFunc) gtk_box_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -111,8 +111,8 @@ gtk_button_get_type (void)
sizeof (GtkButtonClass),
(GtkClassInitFunc) gtk_button_class_init,
(GtkObjectInitFunc) gtk_button_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -60,8 +60,8 @@ gtk_check_button_get_type (void)
sizeof (GtkCheckButtonClass),
(GtkClassInitFunc) gtk_check_button_class_init,
(GtkObjectInitFunc) gtk_check_button_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -61,8 +61,8 @@ gtk_check_menu_item_get_type (void)
sizeof (GtkCheckMenuItemClass),
(GtkClassInitFunc) gtk_check_menu_item_class_init,
(GtkObjectInitFunc) gtk_check_menu_item_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -294,8 +294,8 @@ gtk_clist_get_type (void)
sizeof (GtkCListClass),
(GtkClassInitFunc) gtk_clist_class_init,
(GtkObjectInitFunc) gtk_clist_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -207,8 +207,8 @@ gtk_color_selection_get_type (void)
sizeof (GtkColorSelectionClass),
(GtkClassInitFunc) gtk_color_selection_class_init,
(GtkObjectInitFunc) gtk_color_selection_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};
@ -1445,8 +1445,8 @@ gtk_color_selection_dialog_get_type (void)
sizeof (GtkColorSelectionDialogClass),
(GtkClassInitFunc) gtk_color_selection_dialog_class_init,
(GtkObjectInitFunc) gtk_color_selection_dialog_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -703,8 +703,8 @@ gtk_combo_get_type (void)
sizeof (GtkComboClass),
(GtkClassInitFunc) gtk_combo_class_init,
(GtkObjectInitFunc) gtk_combo_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};
combo_type = gtk_type_unique (gtk_hbox_get_type (), &combo_info);

View File

@ -148,8 +148,8 @@ gtk_container_get_type (void)
sizeof (GtkContainerClass),
(GtkClassInitFunc) gtk_container_class_init,
(GtkObjectInitFunc) gtk_container_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) gtk_container_base_class_init,
};

View File

@ -211,8 +211,8 @@ gtk_ctree_get_type (void)
sizeof (GtkCTreeClass),
(GtkClassInitFunc) gtk_ctree_class_init,
(GtkObjectInitFunc) gtk_ctree_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -65,8 +65,8 @@ gtk_curve_get_type (void)
sizeof (GtkCurveClass),
(GtkClassInitFunc) gtk_curve_class_init,
(GtkObjectInitFunc) gtk_curve_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -46,8 +46,8 @@ gtk_data_get_type (void)
sizeof (GtkDataClass),
(GtkClassInitFunc) gtk_data_class_init,
(GtkObjectInitFunc) NULL,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -41,8 +41,8 @@ gtk_dialog_get_type (void)
sizeof (GtkDialogClass),
(GtkClassInitFunc) gtk_dialog_class_init,
(GtkObjectInitFunc) gtk_dialog_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -41,8 +41,8 @@ gtk_drawing_area_get_type (void)
sizeof (GtkDrawingAreaClass),
(GtkClassInitFunc) gtk_drawing_area_class_init,
(GtkObjectInitFunc) gtk_drawing_area_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -121,8 +121,8 @@ gtk_editable_get_type (void)
sizeof (GtkEditableClass),
(GtkClassInitFunc) gtk_editable_class_init,
(GtkObjectInitFunc) gtk_editable_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -214,8 +214,8 @@ gtk_entry_get_type (void)
sizeof (GtkEntryClass),
(GtkClassInitFunc) gtk_entry_class_init,
(GtkObjectInitFunc) gtk_entry_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -47,8 +47,8 @@ gtk_event_box_get_type (void)
sizeof (GtkEventBoxClass),
(GtkClassInitFunc) gtk_event_box_class_init,
(GtkObjectInitFunc) gtk_event_box_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -331,8 +331,8 @@ gtk_file_selection_get_type (void)
sizeof (GtkFileSelectionClass),
(GtkClassInitFunc) gtk_file_selection_class_init,
(GtkObjectInitFunc) gtk_file_selection_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -61,8 +61,8 @@ gtk_fixed_get_type (void)
sizeof (GtkFixedClass),
(GtkClassInitFunc) gtk_fixed_class_init,
(GtkObjectInitFunc) gtk_fixed_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -399,8 +399,8 @@ gtk_font_selection_get_type()
sizeof(GtkFontSelectionClass),
(GtkClassInitFunc) gtk_font_selection_class_init,
(GtkObjectInitFunc) gtk_font_selection_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};
@ -3077,8 +3077,8 @@ gtk_font_selection_dialog_get_type (void)
sizeof (GtkFontSelectionDialogClass),
(GtkClassInitFunc) gtk_font_selection_dialog_class_init,
(GtkObjectInitFunc) gtk_font_selection_dialog_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -68,8 +68,8 @@ gtk_frame_get_type (void)
sizeof (GtkFrameClass),
(GtkClassInitFunc) gtk_frame_class_init,
(GtkObjectInitFunc) gtk_frame_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -216,8 +216,8 @@ gtk_gamma_curve_get_type (void)
sizeof (GtkGammaCurveClass),
(GtkClassInitFunc) gtk_gamma_curve_class_init,
(GtkObjectInitFunc) gtk_gamma_curve_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -93,8 +93,8 @@ gtk_handle_box_get_type (void)
sizeof (GtkHandleBoxClass),
(GtkClassInitFunc) gtk_handle_box_class_init,
(GtkObjectInitFunc) gtk_handle_box_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -44,8 +44,8 @@ gtk_hbutton_box_get_type (void)
sizeof (GtkHButtonBoxClass),
(GtkClassInitFunc) gtk_hbutton_box_class_init,
(GtkObjectInitFunc) gtk_hbutton_box_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -41,8 +41,8 @@ gtk_hbox_get_type (void)
sizeof (GtkHBoxClass),
(GtkClassInitFunc) gtk_hbox_class_init,
(GtkObjectInitFunc) gtk_hbox_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -50,8 +50,8 @@ gtk_hpaned_get_type (void)
sizeof (GtkHPanedClass),
(GtkClassInitFunc) gtk_hpaned_class_init,
(GtkObjectInitFunc) gtk_hpaned_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -52,8 +52,8 @@ gtk_hruler_get_type (void)
sizeof (GtkHRulerClass),
(GtkClassInitFunc) gtk_hruler_class_init,
(GtkObjectInitFunc) gtk_hruler_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -59,8 +59,8 @@ gtk_hscale_get_type (void)
sizeof (GtkHScaleClass),
(GtkClassInitFunc) gtk_hscale_class_init,
(GtkObjectInitFunc) gtk_hscale_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -55,8 +55,8 @@ gtk_hscrollbar_get_type (void)
sizeof (GtkHScrollbarClass),
(GtkClassInitFunc) gtk_hscrollbar_class_init,
(GtkObjectInitFunc) gtk_hscrollbar_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -39,8 +39,8 @@ gtk_hseparator_get_type (void)
sizeof (GtkHSeparatorClass),
(GtkClassInitFunc) gtk_hseparator_class_init,
(GtkObjectInitFunc) gtk_hseparator_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -40,8 +40,8 @@ gtk_image_get_type (void)
sizeof (GtkImageClass),
(GtkClassInitFunc) gtk_image_class_init,
(GtkObjectInitFunc) gtk_image_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -141,8 +141,8 @@ gtk_input_dialog_get_type (void)
sizeof (GtkInputDialogClass),
(GtkClassInitFunc) gtk_input_dialog_class_init,
(GtkObjectInitFunc) gtk_input_dialog_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -56,8 +56,8 @@ gtk_item_get_type (void)
sizeof (GtkItemClass),
(GtkClassInitFunc) gtk_item_class_init,
(GtkObjectInitFunc) gtk_item_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -162,8 +162,8 @@ gtk_item_factory_get_type (void)
sizeof (GtkItemFactoryClass),
(GtkClassInitFunc) gtk_item_factory_class_init,
(GtkObjectInitFunc) gtk_item_factory_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -63,8 +63,8 @@ gtk_label_get_type (void)
sizeof (GtkLabelClass),
(GtkClassInitFunc) gtk_label_class_init,
(GtkObjectInitFunc) gtk_label_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -94,8 +94,8 @@ gtk_list_get_type (void)
sizeof (GtkListClass),
(GtkClassInitFunc) gtk_list_class_init,
(GtkObjectInitFunc) gtk_list_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -60,8 +60,8 @@ gtk_list_item_get_type (void)
sizeof (GtkListItemClass),
(GtkClassInitFunc) gtk_list_item_class_init,
(GtkObjectInitFunc) gtk_list_item_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -79,8 +79,8 @@ gtk_menu_get_type (void)
sizeof (GtkMenuClass),
(GtkClassInitFunc) gtk_menu_class_init,
(GtkObjectInitFunc) gtk_menu_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -52,8 +52,8 @@ gtk_menu_bar_get_type (void)
sizeof (GtkMenuBarClass),
(GtkClassInitFunc) gtk_menu_bar_class_init,
(GtkObjectInitFunc) gtk_menu_bar_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -77,8 +77,8 @@ gtk_menu_item_get_type (void)
sizeof (GtkMenuItemClass),
(GtkClassInitFunc) gtk_menu_item_class_init,
(GtkObjectInitFunc) gtk_menu_item_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -78,8 +78,8 @@ gtk_menu_shell_get_type (void)
sizeof (GtkMenuShellClass),
(GtkClassInitFunc) gtk_menu_shell_class_init,
(GtkObjectInitFunc) gtk_menu_shell_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -53,8 +53,8 @@ gtk_misc_get_type (void)
sizeof (GtkMiscClass),
(GtkClassInitFunc) gtk_misc_class_init,
(GtkObjectInitFunc) gtk_misc_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -161,8 +161,8 @@ gtk_notebook_get_type (void)
sizeof (GtkNotebookClass),
(GtkClassInitFunc) gtk_notebook_class_init,
(GtkObjectInitFunc) gtk_notebook_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -141,8 +141,8 @@ gtk_object_init_type (void)
sizeof (GtkObjectClass),
(GtkClassInitFunc) gtk_object_class_init,
(GtkObjectInitFunc) gtk_object_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) gtk_object_base_class_init,
};

View File

@ -77,8 +77,8 @@ gtk_option_menu_get_type (void)
sizeof (GtkOptionMenuClass),
(GtkClassInitFunc) gtk_option_menu_class_init,
(GtkObjectInitFunc) gtk_option_menu_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -167,8 +167,8 @@ gtk_packer_get_type (void)
sizeof (GtkPackerClass),
(GtkClassInitFunc) gtk_packer_class_init,
(GtkObjectInitFunc) gtk_packer_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -54,8 +54,8 @@ gtk_paned_get_type (void)
sizeof (GtkPanedClass),
(GtkClassInitFunc) gtk_paned_class_init,
(GtkObjectInitFunc) gtk_paned_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -42,8 +42,8 @@ gtk_pixmap_get_type (void)
sizeof (GtkPixmapClass),
(GtkClassInitFunc) gtk_pixmap_class_init,
(GtkObjectInitFunc) gtk_pixmap_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -139,8 +139,8 @@ gtk_preview_get_type (void)
sizeof (GtkPreviewClass),
(GtkClassInitFunc) gtk_preview_class_init,
(GtkObjectInitFunc) gtk_preview_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -48,8 +48,8 @@ gtk_progress_bar_get_type (void)
sizeof (GtkProgressBarClass),
(GtkClassInitFunc) gtk_progress_bar_class_init,
(GtkObjectInitFunc) gtk_progress_bar_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -60,8 +60,8 @@ gtk_radio_button_get_type (void)
sizeof (GtkRadioButtonClass),
(GtkClassInitFunc) gtk_radio_button_class_init,
(GtkObjectInitFunc) gtk_radio_button_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -41,8 +41,8 @@ gtk_radio_menu_item_get_type (void)
sizeof (GtkRadioMenuItemClass),
(GtkClassInitFunc) gtk_radio_menu_item_class_init,
(GtkObjectInitFunc) gtk_radio_menu_item_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -95,8 +95,8 @@ gtk_range_get_type (void)
sizeof (GtkRangeClass),
(GtkClassInitFunc) gtk_range_class_init,
(GtkObjectInitFunc) gtk_range_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -54,8 +54,8 @@ gtk_ruler_get_type (void)
sizeof (GtkRulerClass),
(GtkClassInitFunc) gtk_ruler_class_init,
(GtkObjectInitFunc) gtk_ruler_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -46,8 +46,8 @@ gtk_scale_get_type (void)
sizeof (GtkScaleClass),
(GtkClassInitFunc) gtk_scale_class_init,
(GtkObjectInitFunc) gtk_scale_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -35,8 +35,8 @@ gtk_scrollbar_get_type (void)
sizeof (GtkScrollbarClass),
(GtkClassInitFunc) gtk_scrollbar_class_init,
(GtkObjectInitFunc) gtk_scrollbar_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -65,8 +65,8 @@ gtk_scrolled_window_get_type (void)
sizeof (GtkScrolledWindowClass),
(GtkClassInitFunc) gtk_scrolled_window_class_init,
(GtkObjectInitFunc) gtk_scrolled_window_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -37,8 +37,8 @@ gtk_separator_get_type (void)
sizeof (GtkSeparatorClass),
(GtkClassInitFunc) gtk_separator_class_init,
(GtkObjectInitFunc) gtk_separator_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -107,8 +107,8 @@ gtk_spin_button_get_type (void)
sizeof (GtkSpinButtonClass),
(GtkClassInitFunc) gtk_spin_button_class_init,
(GtkObjectInitFunc) gtk_spin_button_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -61,8 +61,8 @@ gtk_statusbar_get_type (void)
sizeof (GtkStatusbarClass),
(GtkClassInitFunc) gtk_statusbar_class_init,
(GtkObjectInitFunc) gtk_statusbar_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -106,8 +106,8 @@ gtk_table_get_type (void)
sizeof (GtkTableClass),
(GtkClassInitFunc) gtk_table_class_init,
(GtkObjectInitFunc) gtk_table_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -459,8 +459,8 @@ gtk_text_get_type (void)
sizeof (GtkTextClass),
(GtkClassInitFunc) gtk_text_class_init,
(GtkObjectInitFunc) gtk_text_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -98,8 +98,8 @@ gtk_tips_query_get_type (void)
sizeof (GtkTipsQueryClass),
(GtkClassInitFunc) gtk_tips_query_class_init,
(GtkObjectInitFunc) gtk_tips_query_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -71,8 +71,8 @@ gtk_toggle_button_get_type (void)
sizeof (GtkToggleButtonClass),
(GtkClassInitFunc) gtk_toggle_button_class_init,
(GtkObjectInitFunc) gtk_toggle_button_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -90,8 +90,8 @@ gtk_toolbar_get_type (void)
sizeof (GtkToolbarClass),
(GtkClassInitFunc) gtk_toolbar_class_init,
(GtkObjectInitFunc) gtk_toolbar_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -63,8 +63,8 @@ gtk_tooltips_get_type (void)
sizeof (GtkTooltipsClass),
(GtkClassInitFunc) gtk_tooltips_class_init,
(GtkObjectInitFunc) gtk_tooltips_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -88,8 +88,8 @@ gtk_tree_get_type (void)
sizeof (GtkTreeClass),
(GtkClassInitFunc) gtk_tree_class_init,
(GtkObjectInitFunc) gtk_tree_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -106,8 +106,8 @@ gtk_tree_item_get_type (void)
sizeof (GtkTreeItemClass),
(GtkClassInitFunc) gtk_tree_item_class_init,
(GtkObjectInitFunc) gtk_tree_item_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -43,8 +43,8 @@ gtk_vbutton_box_get_type (void)
sizeof (GtkVButtonBoxClass),
(GtkClassInitFunc) gtk_vbutton_box_class_init,
(GtkObjectInitFunc) gtk_vbutton_box_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -41,8 +41,8 @@ gtk_vbox_get_type (void)
sizeof (GtkVBoxClass),
(GtkClassInitFunc) gtk_vbox_class_init,
(GtkObjectInitFunc) gtk_vbox_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -60,8 +60,8 @@ gtk_viewport_get_type (void)
sizeof (GtkViewportClass),
(GtkClassInitFunc) gtk_viewport_class_init,
(GtkObjectInitFunc) gtk_viewport_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -50,8 +50,8 @@ gtk_vpaned_get_type (void)
sizeof (GtkVPanedClass),
(GtkClassInitFunc) gtk_vpaned_class_init,
(GtkObjectInitFunc) gtk_vpaned_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -52,8 +52,8 @@ gtk_vruler_get_type (void)
sizeof (GtkVRulerClass),
(GtkClassInitFunc) gtk_vruler_class_init,
(GtkObjectInitFunc) gtk_vruler_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -60,8 +60,8 @@ gtk_vscale_get_type (void)
sizeof (GtkVScaleClass),
(GtkClassInitFunc) gtk_vscale_class_init,
(GtkObjectInitFunc) gtk_vscale_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

View File

@ -54,8 +54,8 @@ gtk_vscrollbar_get_type (void)
sizeof (GtkVScrollbarClass),
(GtkClassInitFunc) gtk_vscrollbar_class_init,
(GtkObjectInitFunc) gtk_vscrollbar_init,
/* reversed_1 */ NULL,
/* reversed_2 */ NULL,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL,
};

Some files were not shown because too many files have changed in this diff Show More