From 89901a9c44e5792bcb59e2a15cc880d7b0afaaf3 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 27 Jul 2016 17:57:34 +0300 Subject: window picker: use GtkAboutDialog and get rid of build-dep on libmate-desktop --- configure.ac | 1 - mate-window-picker-applet/applet.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 6994feb..7eed615 100644 --- a/configure.ac +++ b/configure.ac @@ -77,7 +77,6 @@ PKG_CHECK_MODULES(MATEWINDOWPICKER_DEPS, glib-2.0 >= $GLIB_REQUIRED gio-2.0 libwnck-$LIBWNCK_API_VERSION - mate-desktop-2.0 >= 1.9.0 ) AC_SUBST(MATEWINDOWPICKER_DEPS_CFLAGS) AC_SUBST(MATEWINDOWPICKER_DEPS_LIBS) diff --git a/mate-window-picker-applet/applet.c b/mate-window-picker-applet/applet.c index d7478e7..e3f3129 100644 --- a/mate-window-picker-applet/applet.c +++ b/mate-window-picker-applet/applet.c @@ -31,8 +31,6 @@ #define WNCK_I_KNOW_THIS_IS_UNSTABLE #include -#include - #include #include #include @@ -211,7 +209,7 @@ display_about_dialog (GtkAction *action, { GtkWidget *panel_about_dialog; - panel_about_dialog = mate_about_dialog_new (); + panel_about_dialog = gtk_about_dialog_new (); g_object_set (panel_about_dialog, "name", _("Window Picker"), -- cgit v1.2.1