From b69c651cb419071db9184e6afc989cac012902c1 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 3 Feb 2016 17:22:48 +0300 Subject: drop "Ubuntu hacks" because Ubuntu dropped that stuff long ago see https://bugs.launchpad.net/bugs/744993 --- capplets/common/theme-thumbnail.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'capplets') 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)); -- cgit v1.2.1