summaryrefslogtreecommitdiff
path: root/capplets/common
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/common')
-rw-r--r--capplets/common/theme-thumbnail.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/capplets/common/theme-thumbnail.c b/capplets/common/theme-thumbnail.c
index f66a05ec..aa0ce31e 100644
--- a/capplets/common/theme-thumbnail.c
+++ b/capplets/common/theme-thumbnail.c
@@ -120,14 +120,6 @@ draw_window_on_pixbuf(GtkWidget* widget)
window = gtk_widget_get_window(widget);
- /* This is a hack for the default resize grip on Ubuntu.
- * We need to add a --enable-ubuntu for this.
- * Resize grip is also default with GTK3.
- */
-#if defined(UBUNTU)
- gtk_window_set_has_resize_grip(GTK_WINDOW(widget), FALSE);
-#endif
-
gdk_window_redirect_to_drawable(window, pixmap, 0, 0, 0, 0, width, height);
gdk_window_set_override_redirect(window, TRUE);
gtk_window_move(GTK_WINDOW(widget), gdk_screen_get_width(screen), gdk_screen_get_height(screen));