[gnome-calendar/wip/gbsneto/gcal-event: 2/12] event-widget: drop unused function



commit 885a37f96f57c13b50ef44e8a990affaa5d17469
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Feb 7 12:38:37 2016 -0200

    event-widget: drop unused function

 src/gcal-event-widget.c |   12 ------------
 src/gcal-event-widget.h |    3 ---
 2 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/gcal-event-widget.c b/src/gcal-event-widget.c
index 75e7993..bce9fef 100644
--- a/src/gcal-event-widget.c
+++ b/src/gcal-event-widget.c
@@ -765,18 +765,6 @@ gcal_event_widget_new_from_data (GcalEventData *data)
 }
 
 GtkWidget*
-gcal_event_widget_new_with_summary_and_color (const gchar   *summary,
-                                              const GdkRGBA *color)
-{
-  return g_object_new (GCAL_TYPE_EVENT_WIDGET,
-                       "summary",
-                       summary,
-                       "color",
-                       color,
-                       NULL);
-}
-
-GtkWidget*
 gcal_event_widget_clone (GcalEventWidget *widget)
 {
   GtkWidget *new_widget;
diff --git a/src/gcal-event-widget.h b/src/gcal-event-widget.h
index 3a54fc9..4feca51 100644
--- a/src/gcal-event-widget.h
+++ b/src/gcal-event-widget.h
@@ -36,9 +36,6 @@ GtkWidget*    gcal_event_widget_new                        (gchar              *
 
 GtkWidget*    gcal_event_widget_new_from_data              (GcalEventData      *data);
 
-GtkWidget*    gcal_event_widget_new_with_summary_and_color (const gchar        *summary,
-                                                            const GdkRGBA      *color);
-
 GtkWidget*    gcal_event_widget_clone                      (GcalEventWidget    *widget);
 
 const gchar*  gcal_event_widget_peek_uuid                  (GcalEventWidget    *event);


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