diff options
Diffstat (limited to 'calendar/gui')
28 files changed, 0 insertions, 65 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index d7a1346a8e..8a4ae2face 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -970,7 +970,6 @@ query_objects_removed_cb (ECalClientView *view, message_push ((Message *) msg); } - /* Notification functions */ diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c index 968eb95959..a05498532b 100644 --- a/calendar/gui/alarm-notify/alarm.c +++ b/calendar/gui/alarm-notify/alarm.c @@ -36,7 +36,6 @@ #include "alarm.h" #include "config-data.h" - /* Our glib timeout */ static guint timeout_id; @@ -54,8 +53,6 @@ typedef struct { static void setup_timeout (void); - - /* Removes the head alarm from the queue. Does not touch the timeout_id. */ static void pop_alarm (void) @@ -199,8 +196,6 @@ queue_alarm (AlarmRecord *ar) setup_timeout (); } - - /** * alarm_add: * @trigger: Time at which alarm will trigger. diff --git a/calendar/gui/alarm-notify/alarm.h b/calendar/gui/alarm-notify/alarm.h index 7a14db5d03..54a6e4c720 100644 --- a/calendar/gui/alarm-notify/alarm.h +++ b/calendar/gui/alarm-notify/alarm.h @@ -29,7 +29,6 @@ #include <time.h> #include <glib.h> - typedef void (* AlarmFunction) (gpointer alarm_id, time_t trigger, gpointer data); typedef void (* AlarmDestroyNotify) (gpointer alarm_id, gpointer data); @@ -40,6 +39,4 @@ gpointer alarm_add (time_t trigger, AlarmFunction alarm_fn, gpointer data, AlarmDestroyNotify destroy_notify_fn); void alarm_remove (gpointer alarm); - - #endif diff --git a/calendar/gui/alarm-notify/config-data.c b/calendar/gui/alarm-notify/config-data.c index b68268635d..567ca69c09 100644 --- a/calendar/gui/alarm-notify/config-data.c +++ b/calendar/gui/alarm-notify/config-data.c @@ -40,8 +40,6 @@ static gboolean inited = FALSE; static GConfClient *conf_client = NULL; static ESourceList *calendar_source_list = NULL, *tasks_source_list = NULL; - - /* Copied from ../calendar-config.c; returns whether the locale has 'am' and * 'pm' strings defined. */ diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c index b1d4a4fd72..4c92d6d8fc 100644 --- a/calendar/gui/calendar-view-factory.c +++ b/calendar/gui/calendar-view-factory.c @@ -30,7 +30,6 @@ #include "calendar-view-factory.h" #include "calendar-view.h" - /* Private part of the CalendarViewFactory structure */ struct _CalendarViewFactoryPrivate { @@ -38,8 +37,6 @@ struct _CalendarViewFactoryPrivate { GnomeCalendarViewType view_type; }; - - static void calendar_view_factory_finalize (GObject *object); static const gchar * calendar_view_factory_get_title (GalViewFactory *factory); @@ -99,8 +96,6 @@ calendar_view_factory_finalize (GObject *object) G_OBJECT_CLASS (calendar_view_factory_parent_class)->finalize (object); } - - /* get_title method for the calendar view factory */ static const gchar * calendar_view_factory_get_title (GalViewFactory *factory) @@ -173,8 +168,6 @@ calendar_view_factory_new_view (GalViewFactory *factory, return GAL_VIEW (cal_view); } - - /** * calendar_view_factory_construct: * @cal_view_factory: A calendar view factory. diff --git a/calendar/gui/calendar-view-factory.h b/calendar/gui/calendar-view-factory.h index c6022ae657..bad3dcfd1f 100644 --- a/calendar/gui/calendar-view-factory.h +++ b/calendar/gui/calendar-view-factory.h @@ -31,8 +31,6 @@ G_BEGIN_DECLS - - #define TYPE_CALENDAR_VIEW_FACTORY (calendar_view_factory_get_type ()) #define CALENDAR_VIEW_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CALENDAR_VIEW_FACTORY, \ CalendarViewFactory)) @@ -62,8 +60,6 @@ GalViewFactory *calendar_view_factory_construct (CalendarViewFactory *cal_view_f GalViewFactory *calendar_view_factory_new (GnomeCalendarViewType view_type); - - G_END_DECLS #endif diff --git a/calendar/gui/calendar-view.c b/calendar/gui/calendar-view.c index 0931a4b189..d238daf3df 100644 --- a/calendar/gui/calendar-view.c +++ b/calendar/gui/calendar-view.c @@ -28,7 +28,6 @@ #include "calendar-view.h" - /* Private part of the CalendarView structure */ struct _CalendarViewPrivate { @@ -39,8 +38,6 @@ struct _CalendarViewPrivate { gchar *title; }; - - static void calendar_view_finalize (GObject *object); static void calendar_view_load (GalView *view, const gchar *filename); @@ -110,8 +107,6 @@ calendar_view_finalize (GObject *object) G_OBJECT_CLASS (calendar_view_parent_class)->finalize (object); } - - /* load method of the calendar view */ static void calendar_view_load (GalView *view, @@ -207,8 +202,6 @@ calendar_view_clone (GalView *view) return GAL_VIEW (new_view); } - - /** * calendar_view_construct: * @cal_view: A calendar view. diff --git a/calendar/gui/calendar-view.h b/calendar/gui/calendar-view.h index d2e9a7d649..f3a2a3103b 100644 --- a/calendar/gui/calendar-view.h +++ b/calendar/gui/calendar-view.h @@ -31,8 +31,6 @@ G_BEGIN_DECLS - - #define TYPE_CALENDAR_VIEW (calendar_view_get_type ()) #define CALENDAR_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CALENDAR_VIEW, CalendarView)) #define CALENDAR_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CALENDAR_VIEW, \ @@ -64,8 +62,6 @@ CalendarView *calendar_view_new (GnomeCalendarViewType view_type, GnomeCalendarViewType calendar_view_get_view_type (CalendarView *cal_view); - - G_END_DECLS #endif diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c index 9405f24b5a..8bb5500f23 100644 --- a/calendar/gui/comp-util.c +++ b/calendar/gui/comp-util.c @@ -39,7 +39,6 @@ #include "shell/e-shell-window.h" #include "shell/e-shell-view.h" - /** * cal_comp_util_add_exdate: diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index 59cdb4515b..4576f3df6f 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -45,7 +45,6 @@ #include "comp-editor-util.h" #include "alarm-dialog.h" - typedef struct { GtkBuilder *builder; diff --git a/calendar/gui/dialogs/alarm-list-dialog.c b/calendar/gui/dialogs/alarm-list-dialog.c index 48503c1023..4fb5884026 100644 --- a/calendar/gui/dialogs/alarm-list-dialog.c +++ b/calendar/gui/dialogs/alarm-list-dialog.c @@ -42,7 +42,6 @@ #include "alarm-dialog.h" #include "alarm-list-dialog.h" - typedef struct { GtkBuilder *builder; diff --git a/calendar/gui/dialogs/cancel-comp.c b/calendar/gui/dialogs/cancel-comp.c index 86663eda97..c5caa9371d 100644 --- a/calendar/gui/dialogs/cancel-comp.c +++ b/calendar/gui/dialogs/cancel-comp.c @@ -31,7 +31,6 @@ #include "e-util/e-alert-dialog.h" #include "cancel-comp.h" - /* is_past_event: * diff --git a/calendar/gui/dialogs/changed-comp.c b/calendar/gui/dialogs/changed-comp.c index 78928795f6..bc25188f5d 100644 --- a/calendar/gui/dialogs/changed-comp.c +++ b/calendar/gui/dialogs/changed-comp.c @@ -29,7 +29,6 @@ #include <glib/gi18n.h> #include "changed-comp.h" - /** * changed_component_dialog: diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c index cbc34cb108..2c087bb2f6 100644 --- a/calendar/gui/dialogs/comp-editor-util.c +++ b/calendar/gui/dialogs/comp-editor-util.c @@ -37,7 +37,6 @@ #include <shell/e-shell.h> #include "comp-editor-util.h" - /** * comp_editor_dates: diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c index a28fa00221..44c133afbe 100644 --- a/calendar/gui/dialogs/delete-comp.c +++ b/calendar/gui/dialogs/delete-comp.c @@ -30,7 +30,6 @@ #include "e-util/e-alert-dialog.h" #include "delete-comp.h" - /** * delete_component_dialog: diff --git a/calendar/gui/dialogs/delete-error.c b/calendar/gui/dialogs/delete-error.c index a5cc6a1b02..a68fed8e1d 100644 --- a/calendar/gui/dialogs/delete-error.c +++ b/calendar/gui/dialogs/delete-error.c @@ -30,7 +30,6 @@ #include <glib/gi18n.h> #include "delete-error.h" - /** * delete_error_dialog: diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index e92c9872d0..b418898509 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -3409,8 +3409,6 @@ init_widgets (EventPage *epage) return TRUE; } - - static void event_page_select_organizer (EventPage *epage, const gchar *backend_address) diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c index e9a941998d..9652553ee3 100644 --- a/calendar/gui/dialogs/recur-comp.c +++ b/calendar/gui/dialogs/recur-comp.c @@ -29,7 +29,6 @@ #include <glib/gi18n.h> #include "recur-comp.h" - gboolean recur_component_dialog (ECalClient *client, diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 6f201b596f..54dee77f44 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -189,8 +189,6 @@ struct _RecurrencePagePrivate { GCancellable *cancellable; }; - - static void recurrence_page_finalize (GObject *object); static gboolean fill_component (RecurrencePage *rpage, ECalComponent *comp); @@ -2075,8 +2073,6 @@ recurrence_page_set_dates (CompEditorPage *page, preview_recur (rpage); } - - /* Gets the widgets from the XML file and returns if they are all available. */ static gboolean get_widgets (RecurrencePage *rpage) diff --git a/calendar/gui/dialogs/send-comp.c b/calendar/gui/dialogs/send-comp.c index 3752db372b..524f4c8097 100644 --- a/calendar/gui/dialogs/send-comp.c +++ b/calendar/gui/dialogs/send-comp.c @@ -30,7 +30,6 @@ #include "e-util/e-alert-dialog.h" #include "send-comp.h" - static gboolean component_has_new_attendees (ECalComponent *comp) diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 05f1f87c05..a533505a05 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -2027,8 +2027,6 @@ init_widgets (TaskPage *tpage) return TRUE; } - - static void task_page_select_organizer (TaskPage *tpage, const gchar *backend_address) diff --git a/calendar/gui/e-meeting-attendee.c b/calendar/gui/e-meeting-attendee.c index e783195ec1..00e3f9d543 100644 --- a/calendar/gui/e-meeting-attendee.c +++ b/calendar/gui/e-meeting-attendee.c @@ -158,7 +158,6 @@ e_meeting_attendee_init (EMeetingAttendee *ia) priv->longest_period_in_days = 0; } - static void e_meeting_attendee_finalize (GObject *obj) { diff --git a/calendar/gui/e-meeting-attendee.h b/calendar/gui/e-meeting-attendee.h index bc2eaa046b..7545a0f52d 100644 --- a/calendar/gui/e-meeting-attendee.h +++ b/calendar/gui/e-meeting-attendee.h @@ -36,7 +36,6 @@ G_BEGIN_DECLS #define E_IS_MEETING_ATTENDEE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_MEETING_ATTENDEE)) #define E_IS_MEETING_ATTENDEE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_MEETING_ATTENDEE)) - typedef struct _EMeetingAttendee EMeetingAttendee; typedef struct _EMeetingAttendeePrivate EMeetingAttendeePrivate; typedef struct _EMeetingAttendeeClass EMeetingAttendeeClass; diff --git a/calendar/gui/e-meeting-types.h b/calendar/gui/e-meeting-types.h index 50964f1619..b8f1057962 100644 --- a/calendar/gui/e-meeting-types.h +++ b/calendar/gui/e-meeting-types.h @@ -28,8 +28,6 @@ G_BEGIN_DECLS - - typedef struct _EMeetingTime EMeetingTime; typedef struct _EMeetingFreeBusyPeriod EMeetingFreeBusyPeriod; diff --git a/calendar/gui/misc.c b/calendar/gui/misc.c index f3bacef89b..a3243afa43 100644 --- a/calendar/gui/misc.c +++ b/calendar/gui/misc.c @@ -33,8 +33,6 @@ #include "misc.h" - - /** * string_is_empty: * @value: A string. diff --git a/calendar/gui/print.c b/calendar/gui/print.c index 6d37168fc1..29d6b30264 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -116,8 +116,6 @@ get_font_size (PangoFontDescription *font) return pango_units_to_double (pango_font_description_get_size (font)); } - - /* * Note that most dimensions are in points (1/72 of an inch) since that is * what gnome-print uses. diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c index d1a9a2835a..a06b249ee5 100644 --- a/calendar/gui/weekday-picker.c +++ b/calendar/gui/weekday-picker.c @@ -59,8 +59,6 @@ struct _WeekdayPickerPrivate { GnomeCanvasItem *labels[7]; }; - - /* Signal IDs */ enum { CHANGED, diff --git a/calendar/gui/weekday-picker.h b/calendar/gui/weekday-picker.h index 6939e625c8..315fa5bf53 100644 --- a/calendar/gui/weekday-picker.h +++ b/calendar/gui/weekday-picker.h @@ -28,8 +28,6 @@ G_BEGIN_DECLS - - #define TYPE_WEEKDAY_PICKER (weekday_picker_get_type ()) #define WEEKDAY_PICKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_WEEKDAY_PICKER, WeekdayPicker)) #define WEEKDAY_PICKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_WEEKDAY_PICKER, \ @@ -67,8 +65,6 @@ guint weekday_picker_get_blocked_days (WeekdayPicker *wp); void weekday_picker_set_week_start_day (WeekdayPicker *wp, gint week_start_day); gint weekday_picker_get_week_start_day (WeekdayPicker *wp); - - G_END_DECLS #endif |