mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
small formatting fix.
2008-08-21 Michael Natterer <mitch@imendio.com> * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix. svn path=/trunk/; revision=21178
This commit is contained in:
parent
547694ef0e
commit
2fc992e0f5
@ -1,3 +1,7 @@
|
||||
2008-08-21 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.
|
||||
|
||||
2008-08-21 Marek Kasik <mkasik@redhat.com>
|
||||
|
||||
Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
|
||||
|
@ -1795,14 +1795,14 @@ gtk_tree_view_realize (GtkWidget *widget)
|
||||
attributes.y = TREE_VIEW_HEADER_HEIGHT (tree_view);
|
||||
attributes.width = MAX (tree_view->priv->width, widget->allocation.width);
|
||||
attributes.height = widget->allocation.height;
|
||||
attributes.event_mask = GDK_EXPOSURE_MASK |
|
||||
GDK_SCROLL_MASK |
|
||||
GDK_POINTER_MOTION_MASK |
|
||||
GDK_ENTER_NOTIFY_MASK |
|
||||
GDK_LEAVE_NOTIFY_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
gtk_widget_get_events (widget);
|
||||
attributes.event_mask = (GDK_EXPOSURE_MASK |
|
||||
GDK_SCROLL_MASK |
|
||||
GDK_POINTER_MOTION_MASK |
|
||||
GDK_ENTER_NOTIFY_MASK |
|
||||
GDK_LEAVE_NOTIFY_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
gtk_widget_get_events (widget));
|
||||
|
||||
tree_view->priv->bin_window = gdk_window_new (widget->window,
|
||||
&attributes, attributes_mask);
|
||||
@ -1814,12 +1814,12 @@ gtk_tree_view_realize (GtkWidget *widget)
|
||||
attributes.width = MAX (tree_view->priv->width, widget->allocation.width);
|
||||
attributes.height = tree_view->priv->header_height;
|
||||
attributes.event_mask = (GDK_EXPOSURE_MASK |
|
||||
GDK_SCROLL_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_KEY_PRESS_MASK |
|
||||
GDK_KEY_RELEASE_MASK) |
|
||||
gtk_widget_get_events (widget);
|
||||
GDK_SCROLL_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_KEY_PRESS_MASK |
|
||||
GDK_KEY_RELEASE_MASK |
|
||||
gtk_widget_get_events (widget));
|
||||
|
||||
tree_view->priv->header_window = gdk_window_new (widget->window,
|
||||
&attributes, attributes_mask);
|
||||
|
Loading…
Reference in New Issue
Block a user