[gnome-calendar] build: removed Clutter dependency



commit 044654dab4b47aced5f7d869b3846ef9c7f9f923
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Fri Jun 14 10:14:10 2013 -0400

    build: removed Clutter dependency

 TODO                   |    1 -
 configure.ac           |    2 --
 src/gcal-application.c |    8 --------
 3 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/TODO b/TODO
index 610ae3a..ca777d5 100644
--- a/TODO
+++ b/TODO
@@ -4,7 +4,6 @@ TODO
  - Update NewEvent widget to use GtkOverlay
  - Rework internal GcalWindow working
  - Clean GcalWindow compilation, no warnings
- - Remove Clutter dependecy
 
  - Clean gcal-enums for removing toolbar related enums
  - Add scroll_to_unit in day-view and week-view. Meaning, scroll to the actual
diff --git a/configure.ac b/configure.ac
index 9de0798..71ec295 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,8 +78,6 @@ LIBICAL_REQUIRED=0.43
 PKG_CHECK_MODULES(CALENDAR,
                   glib-2.0 >= $GLIB_MIN_VERSION
                   gtk+-3.0 >= $GTK_MIN_VERSION
-                  clutter-1.0 >= $CLUTTER_MIN_VERSION
-                  clutter-gtk-1.0 >= $CLUTTER_GTK_MIN_VERSION
                   libecal-1.2 >= $ECAL_REQUIRED
                   libedataserver-1.2 >= $EDATASERVER_REQUIRED
                   libical >= $LIBICAL_REQUIRED)
diff --git a/src/gcal-application.c b/src/gcal-application.c
index 4fe5fa9..8c8bcbd 100644
--- a/src/gcal-application.c
+++ b/src/gcal-application.c
@@ -24,8 +24,6 @@
 #include "gcal-application.h"
 #include "gcal-window.h"
 
-#include <clutter-gtk/clutter-gtk.h>
-
 #include <glib/gi18n.h>
 
 #define CSS_FILE UI_DATA_DIR "/gtk-styles.css"
@@ -206,12 +204,6 @@ gcal_application_startup (GApplication *app)
 
   G_APPLICATION_CLASS (gcal_application_parent_class)->startup (app);
 
-  if (gtk_clutter_init (NULL, NULL) < 0)
-   {
-     g_error (_("Unable to initialize GtkClutter"));
-     g_application_quit (app);
-   }
-
   if (priv->provider == NULL)
    {
      priv->provider = gtk_css_provider_new ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]