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:
Michael Natterer 2008-08-21 11:42:32 +00:00 committed by Michael Natterer
parent 547694ef0e
commit 2fc992e0f5
2 changed files with 18 additions and 14 deletions

View File

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

View File

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