[gnome-initial-setup/meson-port] Remove unused HAVE_CLUTTER blocks
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/meson-port] Remove unused HAVE_CLUTTER blocks
- Date: Mon, 23 Jul 2018 10:39:29 +0000 (UTC)
commit e7c0d0c11e8193e864a8cdd73a1ee1a259148cb8
Author: Will Thompson <will willthompson co uk>
Date: Mon Jul 23 11:14:55 2018 +0100
Remove unused HAVE_CLUTTER blocks
795763f292c0e62b9a2119823fefbb597ea377a8 which removed the code that
used Clutter, and removed the configure checks that would have defined
HAVE_CLUTTER. It's now never defined, so these blocks are never
compiled. Remove them.
gnome-initial-setup/gnome-initial-setup.c | 11 -----------
1 file changed, 11 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index fdc2829..414ea94 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -28,10 +28,6 @@
#include <stdlib.h>
#include <glib/gi18n.h>
-#ifdef HAVE_CLUTTER
-#include <clutter-gtk/clutter-gtk.h>
-#endif
-
#ifdef HAVE_CHEESE
#include <cheese-gtk.h>
#endif
@@ -282,13 +278,6 @@ main (int argc, char *argv[])
gtk_init (&argc, &argv);
-#if HAVE_CLUTTER
- if (gtk_clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS) {
- g_critical ("Clutter-GTK init failed");
- exit (1);
- }
-#endif
-
skipped_pages = g_ptr_array_new_with_free_func ((GDestroyNotify) gtk_widget_destroy);
mode = get_mode ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]