Commit 304f36b5 authored by Christian Dywan's avatar Christian Dywan Committed by Javier Jardón

Remove deprecated functions from GtkCalendar

parent 0d7d1ae8
...@@ -3499,22 +3499,6 @@ gtk_calendar_new (void) ...@@ -3499,22 +3499,6 @@ gtk_calendar_new (void)
return g_object_new (GTK_TYPE_CALENDAR, NULL); return g_object_new (GTK_TYPE_CALENDAR, NULL);
} }
/**
* 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: * gtk_calendar_get_display_options:
* @calendar: a #GtkCalendar * @calendar: a #GtkCalendar
...@@ -3983,35 +3967,5 @@ gtk_calendar_get_detail_height_rows (GtkCalendar *calendar) ...@@ -3983,35 +3967,5 @@ gtk_calendar_get_detail_height_rows (GtkCalendar *calendar)
return GTK_CALENDAR_GET_PRIVATE (calendar)->detail_height_rows; 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__ #define __GTK_CALENDAR_C__
#include "gtkaliasdef.c" #include "gtkaliasdef.c"
...@@ -176,11 +176,6 @@ void gtk_calendar_set_display_options (GtkCalendar *calendar, ...@@ -176,11 +176,6 @@ void gtk_calendar_set_display_options (GtkCalendar *calendar,
GtkCalendarDisplayOptions flags); GtkCalendarDisplayOptions flags);
GtkCalendarDisplayOptions GtkCalendarDisplayOptions
gtk_calendar_get_display_options (GtkCalendar *calendar); 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, void gtk_calendar_get_date (GtkCalendar *calendar,
guint *year, guint *year,
guint *month, guint *month,
...@@ -199,11 +194,6 @@ void gtk_calendar_set_detail_height_rows (GtkCalendar *calendar, ...@@ -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_width_chars (GtkCalendar *calendar);
gint gtk_calendar_get_detail_height_rows (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 G_END_DECLS
#endif /* __GTK_CALENDAR_H__ */ #endif /* __GTK_CALENDAR_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment