[gtk+/gtk-2-90: 4/161] Remove deprecated functions from GtkCalendar
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 4/161] Remove deprecated functions from GtkCalendar
- Date: Tue, 23 Mar 2010 21:03:51 +0000 (UTC)
commit 621edea0430c8906f615449bc9ff94973e98e2b4
Author: Christian Dywan <christian twotoasts de>
Date: Wed Oct 7 17:39:15 2009 +0200
Remove deprecated functions from GtkCalendar
gtk/gtkcalendar.c | 46 ----------------------------------------------
gtk/gtkcalendar.h | 10 ----------
2 files changed, 0 insertions(+), 56 deletions(-)
---
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 80f67d3..355327f 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -3500,22 +3500,6 @@ gtk_calendar_new (void)
}
/**
- * gtk_calendar_display_options:
- * @calendar: a #GtkCalendar.
- * @flags: the display options to set.
- *
- * Sets display options (whether to display the heading and the month headings).
- *
- * Deprecated: 2.4: Use gtk_calendar_set_display_options() instead
- **/
-void
-gtk_calendar_display_options (GtkCalendar *calendar,
- GtkCalendarDisplayOptions flags)
-{
- gtk_calendar_set_display_options (calendar, flags);
-}
-
-/**
* gtk_calendar_get_display_options:
* @calendar: a #GtkCalendar
*
@@ -3983,35 +3967,5 @@ gtk_calendar_get_detail_height_rows (GtkCalendar *calendar)
return GTK_CALENDAR_GET_PRIVATE (calendar)->detail_height_rows;
}
-/**
- * gtk_calendar_freeze:
- * @calendar: a #GtkCalendar
- *
- * Does nothing. Previously locked the display of the calendar until
- * it was thawed with gtk_calendar_thaw().
- *
- * Deprecated: 2.8:
- **/
-void
-gtk_calendar_freeze (GtkCalendar *calendar)
-{
- g_return_if_fail (GTK_IS_CALENDAR (calendar));
-}
-
-/**
- * gtk_calendar_thaw:
- * @calendar: a #GtkCalendar
- *
- * Does nothing. Previously defrosted a calendar; all the changes made
- * since the last gtk_calendar_freeze() were displayed.
- *
- * Deprecated: 2.8:
- **/
-void
-gtk_calendar_thaw (GtkCalendar *calendar)
-{
- g_return_if_fail (GTK_IS_CALENDAR (calendar));
-}
-
#define __GTK_CALENDAR_C__
#include "gtkaliasdef.c"
diff --git a/gtk/gtkcalendar.h b/gtk/gtkcalendar.h
index 9648d25..c0eb1a0 100644
--- a/gtk/gtkcalendar.h
+++ b/gtk/gtkcalendar.h
@@ -176,11 +176,6 @@ void gtk_calendar_set_display_options (GtkCalendar *calendar,
GtkCalendarDisplayOptions flags);
GtkCalendarDisplayOptions
gtk_calendar_get_display_options (GtkCalendar *calendar);
-#ifndef GTK_DISABLE_DEPRECATED
-void gtk_calendar_display_options (GtkCalendar *calendar,
- GtkCalendarDisplayOptions flags);
-#endif
-
void gtk_calendar_get_date (GtkCalendar *calendar,
guint *year,
guint *month,
@@ -199,11 +194,6 @@ void gtk_calendar_set_detail_height_rows (GtkCalendar *calendar,
gint gtk_calendar_get_detail_width_chars (GtkCalendar *calendar);
gint gtk_calendar_get_detail_height_rows (GtkCalendar *calendar);
-#ifndef GTK_DISABLE_DEPRECATED
-void gtk_calendar_freeze (GtkCalendar *calendar);
-void gtk_calendar_thaw (GtkCalendar *calendar);
-#endif
-
G_END_DECLS
#endif /* __GTK_CALENDAR_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]