forked from AuroraMiddleware/gtk
pass &event->area to gtk_paint_box() calls.
2007-02-01 Michael Natterer <mitch@imendio.com> * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to gtk_paint_box() calls. svn path=/trunk/; revision=17248
This commit is contained in:
parent
9205bfd82c
commit
1d06562a87
@ -1,9 +1,14 @@
|
||||
2007-02-01 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
|
||||
gtk_paint_box() calls.
|
||||
|
||||
2007-02-01 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_button_press)
|
||||
(gtk_menu_button_release)
|
||||
(gtk_menu_button_scroll): remove redundant and confusing
|
||||
if(GTK_IS_MENU(widget)) checks because "widget" is always a
|
||||
if (GTK_IS_MENU (widget)) checks because "widget" is always a
|
||||
GtkMenu here.
|
||||
|
||||
Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
|
||||
|
@ -2467,7 +2467,7 @@ gtk_menu_paint (GtkWidget *widget,
|
||||
widget->window,
|
||||
priv->upper_arrow_state,
|
||||
GTK_SHADOW_OUT,
|
||||
NULL, widget, "menu",
|
||||
&event->area, widget, "menu",
|
||||
border_x,
|
||||
border_y,
|
||||
width - 2 * border_x,
|
||||
@ -2491,7 +2491,7 @@ gtk_menu_paint (GtkWidget *widget,
|
||||
widget->window,
|
||||
priv->lower_arrow_state,
|
||||
GTK_SHADOW_OUT,
|
||||
NULL, widget, "menu",
|
||||
&event->area, widget, "menu",
|
||||
border_x,
|
||||
height - border_y - scroll_arrow_height,
|
||||
width - 2*border_x,
|
||||
@ -2521,7 +2521,7 @@ gtk_menu_paint (GtkWidget *widget,
|
||||
menu->bin_window,
|
||||
GTK_STATE_NORMAL,
|
||||
GTK_SHADOW_OUT,
|
||||
NULL, widget, "menu",
|
||||
&event->area, widget, "menu",
|
||||
- border_x, y,
|
||||
width, height);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user