summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c1
-rw-r--r--shell/ev-sidebar-layers.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c b/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
index 0addfa72..875d87bb 100644
--- a/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
+++ b/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
@@ -343,6 +343,7 @@ gimp_cell_renderer_toggle_render (GtkCellRenderer *cell,
gdk_rectangle_intersect (&clip_rect, cell_area, &draw_rect))
{
cairo_save (cr);
+ gtk_style_context_save (context);
gdk_cairo_rectangle (cr, &draw_rect);
cairo_clip (cr);
gtk_render_frame (context, //gtk_widget_get_style_context (widget),
diff --git a/shell/ev-sidebar-layers.c b/shell/ev-sidebar-layers.c
index ce12ba61..c28218c2 100644
--- a/shell/ev-sidebar-layers.c
+++ b/shell/ev-sidebar-layers.c
@@ -284,6 +284,7 @@ ev_sidebar_layers_init (EvSidebarLayers *ev_layers)
gtk_orientable_set_orientation (GTK_ORIENTABLE (ev_layers), GTK_ORIENTATION_VERTICAL);
swindow = gtk_scrolled_window_new (NULL, NULL);
+ gtk_widget_set_vexpand (swindow, TRUE);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);