mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Re-enable deprecation guards
This commit is contained in:
parent
92431720dc
commit
d0974d4f02
@ -30,8 +30,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include "gtklayout.h"
|
||||
|
||||
#include "gdkconfig.h"
|
||||
|
@ -94,7 +94,7 @@ void gtk_layout_get_size (GtkLayout *layout,
|
||||
guint *width,
|
||||
guint *height);
|
||||
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
|
||||
|
||||
GtkAdjustment* gtk_layout_get_hadjustment (GtkLayout *layout);
|
||||
GtkAdjustment* gtk_layout_get_vadjustment (GtkLayout *layout);
|
||||
|
@ -26,9 +26,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include "gtkviewport.h"
|
||||
#define GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include "gtkintl.h"
|
||||
#include "gtkmarshalers.h"
|
||||
#include "gtktypeutils.h"
|
||||
|
@ -75,7 +75,7 @@ GType gtk_viewport_get_type (void) G_GNUC_CONST;
|
||||
GtkWidget* gtk_viewport_new (GtkAdjustment *hadjustment,
|
||||
GtkAdjustment *vadjustment);
|
||||
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
|
||||
|
||||
GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport);
|
||||
GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport);
|
||||
|
Loading…
Reference in New Issue
Block a user