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)
This commit is contained in:
Owen Taylor 2001-09-20 15:08:00 +00:00 committed by Owen Taylor
parent 1e99d62d55
commit 483fca5e50
14 changed files with 75 additions and 11 deletions

View File

@ -1,3 +1,13 @@
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

View File

@ -1,3 +1,13 @@
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

View File

@ -1,3 +1,13 @@
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

View File

@ -1,3 +1,13 @@
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

View File

@ -1,3 +1,13 @@
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

View File

@ -1,3 +1,13 @@
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

View File

@ -1,3 +1,13 @@
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

View File

@ -1446,7 +1446,6 @@ void
gtk_list_select_all (GtkList *list)
{
GtkContainer *container;
GList *work;
g_return_if_fail (GTK_IS_LIST (list));

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -1549,7 +1549,6 @@ gtk_tree_model_sort_sort_helper (GtkTreeModelSort *tree_model_sort,
{
SortElt *elt1;
SortElt *elt2;
SortElt tmp;
gint j;
GArray *c;

View File

@ -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)