build: removed Clutter dependency
This commit is contained in:
@@ -4,7 +4,6 @@ TODO
|
|||||||
- Update NewEvent widget to use GtkOverlay
|
- Update NewEvent widget to use GtkOverlay
|
||||||
- Rework internal GcalWindow working
|
- Rework internal GcalWindow working
|
||||||
- Clean GcalWindow compilation, no warnings
|
- Clean GcalWindow compilation, no warnings
|
||||||
- Remove Clutter dependecy
|
|
||||||
|
|
||||||
- Clean gcal-enums for removing toolbar related enums
|
- Clean gcal-enums for removing toolbar related enums
|
||||||
- Add scroll_to_unit in day-view and week-view. Meaning, scroll to the actual
|
- Add scroll_to_unit in day-view and week-view. Meaning, scroll to the actual
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ LIBICAL_REQUIRED=0.43
|
|||||||
PKG_CHECK_MODULES(CALENDAR,
|
PKG_CHECK_MODULES(CALENDAR,
|
||||||
glib-2.0 >= $GLIB_MIN_VERSION
|
glib-2.0 >= $GLIB_MIN_VERSION
|
||||||
gtk+-3.0 >= $GTK_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
|
libecal-1.2 >= $ECAL_REQUIRED
|
||||||
libedataserver-1.2 >= $EDATASERVER_REQUIRED
|
libedataserver-1.2 >= $EDATASERVER_REQUIRED
|
||||||
libical >= $LIBICAL_REQUIRED)
|
libical >= $LIBICAL_REQUIRED)
|
||||||
|
|||||||
@@ -24,8 +24,6 @@
|
|||||||
#include "gcal-application.h"
|
#include "gcal-application.h"
|
||||||
#include "gcal-window.h"
|
#include "gcal-window.h"
|
||||||
|
|
||||||
#include <clutter-gtk/clutter-gtk.h>
|
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
||||||
#define CSS_FILE UI_DATA_DIR "/gtk-styles.css"
|
#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);
|
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)
|
if (priv->provider == NULL)
|
||||||
{
|
{
|
||||||
priv->provider = gtk_css_provider_new ();
|
priv->provider = gtk_css_provider_new ();
|
||||||
|
|||||||
Reference in New Issue
Block a user