summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-03 17:22:48 +0300
committermonsta <[email protected]>2016-02-03 17:22:48 +0300
commitb69c651cb419071db9184e6afc989cac012902c1 (patch)
treec9956da28017e2ba1e8a8ecd9b66c3149edb5223 /capplets
parent0fe0004f21832032602920d9c6f1074c1c3d9089 (diff)
downloadmate-control-center-b69c651cb419071db9184e6afc989cac012902c1.tar.bz2
mate-control-center-b69c651cb419071db9184e6afc989cac012902c1.tar.xz
drop "Ubuntu hacks" because Ubuntu dropped that stuff long ago
see https://bugs.launchpad.net/bugs/744993
Diffstat (limited to 'capplets')
-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));