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-desktop-window.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-desktop-window.h')
-rw-r--r-- | src/nautilus-desktop-window.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/nautilus-desktop-window.h b/src/nautilus-desktop-window.h index 826ae4533..c01e833d0 100644 --- a/src/nautilus-desktop-window.h +++ b/src/nautilus-desktop-window.h @@ -32,11 +32,17 @@ #include "nautilus-application.h" #include "nautilus-spatial-window.h" -#define NAUTILUS_TYPE_DESKTOP_WINDOW (nautilus_desktop_window_get_type()) -#define NAUTILUS_DESKTOP_WINDOW(object) (GTK_CHECK_CAST ((object), NAUTILUS_TYPE_DESKTOP_WINDOW, NautilusDesktopWindow)) -#define NAUTILUS_DESKTOP_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_DESKTOP_WINDOW, NautilusDesktopWindowClass)) -#define NAUTILUS_IS_DESKTOP_WINDOW(object) (GTK_CHECK_TYPE ((object), NAUTILUS_TYPE_DESKTOP_WINDOW)) -#define NAUTILUS_IS_DESKTOP_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_DESKTOP_WINDOW)) +#define NAUTILUS_TYPE_DESKTOP_WINDOW nautilus_desktop_window_get_type() +#define NAUTILUS_DESKTOP_WINDOW(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_DESKTOP_WINDOW, NautilusDesktopWindow)) +#define NAUTILUS_DESKTOP_WINDOW_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_DESKTOP_WINDOW, NautilusDesktopWindowClass)) +#define NAUTILUS_IS_DESKTOP_WINDOW(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_DESKTOP_WINDOW)) +#define NAUTILUS_IS_DESKTOP_WINDOW_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_DESKTOP_WINDOW)) +#define NAUTILUS_DESKTOP_WINDOW_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_DESKTOP_WINDOW, NautilusDesktopWindowClass)) typedef struct NautilusDesktopWindowDetails NautilusDesktopWindowDetails; |