Commit 483fca5e authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Small warning cleanups.

Thu Sep 20 11:03:51 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
        gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.

        * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
        the function definition so we don't accidentally rely on
        the compat #define from gtk_radio_menu_item_group.
        (#60782, Jeff Franks)
parent 1e99d62d
Thu Sep 20 11:03:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
the function definition so we don't accidentally rely on
the compat #define from gtk_radio_menu_item_group.
(#60782, Jeff Franks)
Thu Sep 20 16:51:02 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
......
Thu Sep 20 11:03:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
the function definition so we don't accidentally rely on
the compat #define from gtk_radio_menu_item_group.
(#60782, Jeff Franks)
Thu Sep 20 16:51:02 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
......
Thu Sep 20 11:03:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
the function definition so we don't accidentally rely on
the compat #define from gtk_radio_menu_item_group.
(#60782, Jeff Franks)
Thu Sep 20 16:51:02 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
......
Thu Sep 20 11:03:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
the function definition so we don't accidentally rely on
the compat #define from gtk_radio_menu_item_group.
(#60782, Jeff Franks)
Thu Sep 20 16:51:02 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
......
Thu Sep 20 11:03:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
the function definition so we don't accidentally rely on
the compat #define from gtk_radio_menu_item_group.
(#60782, Jeff Franks)
Thu Sep 20 16:51:02 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
......
Thu Sep 20 11:03:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
the function definition so we don't accidentally rely on
the compat #define from gtk_radio_menu_item_group.
(#60782, Jeff Franks)
Thu Sep 20 16:51:02 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
......
Thu Sep 20 11:03:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
the function definition so we don't accidentally rely on
the compat #define from gtk_radio_menu_item_group.
(#60782, Jeff Franks)
Thu Sep 20 16:51:02 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
......
......@@ -1446,7 +1446,6 @@ void
gtk_list_select_all (GtkList *list)
{
GtkContainer *container;
GList *work;
g_return_if_fail (GTK_IS_LIST (list));
......
......@@ -563,7 +563,7 @@ gtk_object_new (GtkType object_type,
g_return_val_if_fail (GTK_TYPE_IS_OBJECT (object_type), NULL);
va_start (var_args, first_property_name);
object = g_object_new_valist (object_type, first_property_name, var_args);
object = (GtkObject *)g_object_new_valist (object_type, first_property_name, var_args);
va_end (var_args);
return object;
......
......@@ -54,7 +54,9 @@ static void gtk_plug_set_focus (GtkWindow *window,
static gboolean gtk_plug_focus (GtkWidget *widget,
GtkDirectionType direction);
static void gtk_plug_check_resize (GtkContainer *container);
#if 0
static void gtk_plug_accel_entries_changed (GtkWindow *window);
#endif
static GdkFilterReturn gtk_plug_filter_func (GdkXEvent *gdk_xevent,
GdkEvent *event,
gpointer data);
......
......@@ -169,7 +169,7 @@ gtk_radio_menu_item_new_with_mnemonic (GSList *group,
}
GSList*
gtk_radio_menu_item_group (GtkRadioMenuItem *radio_menu_item)
gtk_radio_menu_item_get_group (GtkRadioMenuItem *radio_menu_item)
{
g_return_val_if_fail (GTK_IS_RADIO_MENU_ITEM (radio_menu_item), NULL);
......
......@@ -1445,9 +1445,7 @@ gtk_socket_filter_func (GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
if (socket->plug_window)
{
GTK_NOTE(PLUGSOCKET,
g_message ("GtkSocket - window reparented",
socket->request_width,
socket->request_height));
g_message ("GtkSocket - window reparented"));
}
return_val = GDK_FILTER_REMOVE;
......
......@@ -1549,7 +1549,6 @@ gtk_tree_model_sort_sort_helper (GtkTreeModelSort *tree_model_sort,
{
SortElt *elt1;
SortElt *elt2;
SortElt tmp;
gint j;
GArray *c;
......
......@@ -286,8 +286,6 @@ static void gtk_tree_view_get_arrow_xrange (GtkTreeView
static gint gtk_tree_view_new_column_width (GtkTreeView *tree_view,
gint i,
gint *x);
static void gtk_tree_view_ensure_scroll_timeout (GtkTreeView *tree_view,
GFunc func);
static void gtk_tree_view_adjustment_changed (GtkAdjustment *adjustment,
GtkTreeView *tree_view);
static gint gtk_tree_view_insert_iter_height (GtkTreeView *tree_view,
......@@ -3573,8 +3571,6 @@ gtk_tree_view_drag_motion (GtkWidget *widget,
if (!set_destination_row (tree_view, context, x, y, &suggested_action, &target))
return FALSE;
/* gtk_tree_view_ensure_scroll_timeout (tree_view); */
gtk_tree_view_get_drag_dest_row (tree_view, &path, &pos);
if (path == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment