summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capplets/common/theme-thumbnail.c8
-rw-r--r--configure.ac17
2 files changed, 0 insertions, 25 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));
diff --git a/configure.ac b/configure.ac
index fd22874e..0e069a13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -310,21 +310,6 @@ AC_ARG_ENABLE(update-mimedb,
enable_update_mimedb=yes)
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
-dnl ****************************************************************************
-dnl * using Ubuntu hacks
-dnl ****************************************************************************
-AC_ARG_ENABLE(ubuntu,
- AS_HELP_STRING([--enable-ubuntu], [Enable Ubuntu Counter Hacks]), enable_ubuntu=yes, enable_ubuntu=no)
-
-if test "x$enable_ubuntu" = "xyes" ; then
- # we define a UBUNTU on code
- MATE_DESKTOP_CFLAGS="$MATE_DESKTOP_CFLAGS -DUBUNTU"
-
- ENABLE_UBUNTU=yes
-else
- ENABLE_UBUNTU=no
-fi
-
AC_CONFIG_FILES([
Makefile
org.mate.control-center.gschema.xml
@@ -386,6 +371,4 @@ echo "
Libmate-slab: ${have_libmateslab}
XCursor support: ${have_xcursor}
XInput support: ${have_xinput}
- Ubuntu hacks: ${enable_ubuntu}
-
"