Commit a3a5bc34 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

gtk/gtkseparatortoolitem.c remove pointless #undef GTK_DISABLE_DEPRECATED.

2008-08-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkseparatortoolitem.c
	* tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.

	* gtk/gtkcalendar.c (calendar_set_display_option): use
	gtk_calendar_set_display_options() instead of the deprecated
	gtk_calendar_display_options().


svn path=/trunk/; revision=20977
parent 2a595676
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkseparatortoolitem.c
* tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
* gtk/gtkcalendar.c (calendar_set_display_option): use
gtk_calendar_set_display_options() instead of the deprecated
gtk_calendar_display_options().
2008-08-04 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
......
......@@ -47,9 +47,7 @@
#include <windows.h>
#endif
#undef GTK_DISABLE_DEPRECATED
#include "gtkcalendar.h"
#include "gtkdnd.h"
#include "gtkintl.h"
#include "gtkmain.h"
......@@ -1269,7 +1267,7 @@ calendar_set_display_option (GtkCalendar *calendar,
flags = calendar->display_flags | flag;
else
flags = calendar->display_flags & ~flag;
gtk_calendar_display_options (calendar, flags);
gtk_calendar_set_display_options (calendar, flags);
}
static gboolean
......
......@@ -19,8 +19,6 @@
* Boston, MA 02111-1307, USA.
*/
#undef GTK_DISABLE_DEPRECATED
#include "config.h"
#include "gtkseparatormenuitem.h"
#include "gtkseparatortoolitem.h"
......
......@@ -17,7 +17,6 @@
* Boston, MA 02111-1307, USA.
*/
#undef GTK_DISABLE_DEPRECATED
#include "config.h"
#include <gtk/gtk.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