Fix some compiler warnings. (#321141, Kjartan Maraas)

2005-11-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c: Fix some compiler warnings. (#321141,
	Kjartan Maraas)
This commit is contained in:
Matthias Clasen 2005-11-10 14:33:51 +00:00 committed by Matthias Clasen
parent cfd7c13b6c
commit 14c284c37e
3 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,8 @@
2005-11-10 Matthias Clasen <mclasen@redhat.com> 2005-11-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c: Fix some compiler warnings. (#321141,
Kjartan Maraas)
* gtk/gtk.symbols: * gtk/gtk.symbols:
* gtk/gtktreeview.h: * gtk/gtktreeview.h:
* gtk/gtktreeview.c: Implement a getter for headers-clickable. * gtk/gtktreeview.c: Implement a getter for headers-clickable.

View File

@ -1,5 +1,8 @@
2005-11-10 Matthias Clasen <mclasen@redhat.com> 2005-11-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c: Fix some compiler warnings. (#321141,
Kjartan Maraas)
* gtk/gtk.symbols: * gtk/gtk.symbols:
* gtk/gtktreeview.h: * gtk/gtktreeview.h:
* gtk/gtktreeview.c: Implement a getter for headers-clickable. * gtk/gtktreeview.c: Implement a getter for headers-clickable.

View File

@ -2193,7 +2193,7 @@ gtk_menu_size_request (GtkWidget *widget,
{ {
gint part; gint part;
gint toggle_size; gint toggle_size;
guint l, r, t, b; gint l, r, t, b;
child = children->data; child = children->data;
children = children->next; children = children->next;
@ -2322,7 +2322,7 @@ gtk_menu_size_allocate (GtkWidget *widget,
if (GTK_WIDGET_VISIBLE (child)) if (GTK_WIDGET_VISIBLE (child))
{ {
gint i; gint i;
guint l, r, t, b; gint l, r, t, b;
get_effective_child_attach (child, &l, &r, &t, &b); get_effective_child_attach (child, &l, &r, &t, &b);
@ -3754,8 +3754,8 @@ compute_child_offset (GtkMenu *menu,
gboolean *is_last_child) gboolean *is_last_child)
{ {
GtkMenuPrivate *priv = gtk_menu_get_private (menu); GtkMenuPrivate *priv = gtk_menu_get_private (menu);
guint item_top_attach; gint item_top_attach;
guint item_bottom_attach; gint item_bottom_attach;
gint child_offset = 0; gint child_offset = 0;
gint i; gint i;
@ -4062,7 +4062,7 @@ find_child_containing (GtkMenuShell *menu_shell,
for (list = menu_shell->children; list; list = list->next) for (list = menu_shell->children; list; list = list->next)
{ {
guint l, r, t, b; gint l, r, t, b;
if (!_gtk_menu_item_is_selectable (list->data)) if (!_gtk_menu_item_is_selectable (list->data))
continue; continue;
@ -4083,7 +4083,7 @@ gtk_menu_move_current (GtkMenuShell *menu_shell,
{ {
GtkMenu *menu = GTK_MENU (menu_shell); GtkMenu *menu = GTK_MENU (menu_shell);
gint i; gint i;
guint l, r, t, b; gint l, r, t, b;
GtkWidget *match = NULL; GtkWidget *match = NULL;
if (gtk_widget_get_direction (GTK_WIDGET (menu_shell)) == GTK_TEXT_DIR_RTL) if (gtk_widget_get_direction (GTK_WIDGET (menu_shell)) == GTK_TEXT_DIR_RTL)