diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-04-21 15:06:23 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-04-21 15:06:23 +0200 |
commit | b695c970182bbf19f2c38bf7405db506e7c23bb0 (patch) | |
tree | 625e25a7c08c3f8ae6cdc023e8b681ea32a16cea /src/nautilus-zoom-control.h | |
parent | e2f711533e1008b62c9db70fb3bcf877191866d4 (diff) | |
download | nautilus-b695c970182bbf19f2c38bf7405db506e7c23bb0.tar.gz |
Remove deprecated GDK/GTK+ symbols
Remove all uses of deprecated GDK and GTK+ symbols, replacing them
with the currently supported equivalents.
Based on a patch from Tal Benavidor (#565038).
Diffstat (limited to 'src/nautilus-zoom-control.h')
-rw-r--r-- | src/nautilus-zoom-control.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/nautilus-zoom-control.h b/src/nautilus-zoom-control.h index 623d46a54..654572530 100644 --- a/src/nautilus-zoom-control.h +++ b/src/nautilus-zoom-control.h @@ -31,11 +31,17 @@ #include <gtk/gtk.h> #include <libnautilus-private/nautilus-icon-info.h> /* For NautilusZoomLevel */ -#define NAUTILUS_TYPE_ZOOM_CONTROL (nautilus_zoom_control_get_type ()) -#define NAUTILUS_ZOOM_CONTROL(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_ZOOM_CONTROL, NautilusZoomControl)) -#define NAUTILUS_ZOOM_CONTROL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_ZOOM_CONTROL, NautilusZoomControlClass)) -#define NAUTILUS_IS_ZOOM_CONTROL(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_ZOOM_CONTROL)) -#define NAUTILUS_IS_ZOOM_CONTROL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_ZOOM_CONTROL)) +#define NAUTILUS_TYPE_ZOOM_CONTROL nautilus_zoom_control_get_type() +#define NAUTILUS_ZOOM_CONTROL(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_ZOOM_CONTROL, NautilusZoomControl)) +#define NAUTILUS_ZOOM_CONTROL_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_ZOOM_CONTROL, NautilusZoomControlClass)) +#define NAUTILUS_IS_ZOOM_CONTROL(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_ZOOM_CONTROL)) +#define NAUTILUS_IS_ZOOM_CONTROL_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_ZOOM_CONTROL)) +#define NAUTILUS_ZOOM_CONTROL_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_ZOOM_CONTROL, NautilusZoomControlClass)) typedef struct NautilusZoomControl NautilusZoomControl; typedef struct NautilusZoomControlClass NautilusZoomControlClass; |