summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-search-directory.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-04-21 15:06:23 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2009-04-21 15:06:23 +0200
commitb695c970182bbf19f2c38bf7405db506e7c23bb0 (patch)
tree625e25a7c08c3f8ae6cdc023e8b681ea32a16cea /libnautilus-private/nautilus-search-directory.h
parente2f711533e1008b62c9db70fb3bcf877191866d4 (diff)
downloadnautilus-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 'libnautilus-private/nautilus-search-directory.h')
-rw-r--r--libnautilus-private/nautilus-search-directory.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/libnautilus-private/nautilus-search-directory.h b/libnautilus-private/nautilus-search-directory.h
index c00869206..d8d12d706 100644
--- a/libnautilus-private/nautilus-search-directory.h
+++ b/libnautilus-private/nautilus-search-directory.h
@@ -28,16 +28,17 @@
#include <libnautilus-private/nautilus-directory.h>
#include <libnautilus-private/nautilus-query.h>
-#define NAUTILUS_TYPE_SEARCH_DIRECTORY \
- (nautilus_search_directory_get_type ())
+#define NAUTILUS_TYPE_SEARCH_DIRECTORY nautilus_search_directory_get_type()
#define NAUTILUS_SEARCH_DIRECTORY(obj) \
- (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_SEARCH_DIRECTORY, NautilusSearchDirectory))
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_SEARCH_DIRECTORY, NautilusSearchDirectory))
#define NAUTILUS_SEARCH_DIRECTORY_CLASS(klass) \
- (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SEARCH_DIRECTORY, NautilusSearchDirectoryClass))
+ (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SEARCH_DIRECTORY, NautilusSearchDirectoryClass))
#define NAUTILUS_IS_SEARCH_DIRECTORY(obj) \
- (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_SEARCH_DIRECTORY))
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_SEARCH_DIRECTORY))
#define NAUTILUS_IS_SEARCH_DIRECTORY_CLASS(klass) \
- (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SEARCH_DIRECTORY))
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SEARCH_DIRECTORY))
+#define NAUTILUS_SEARCH_DIRECTORY_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_SEARCH_DIRECTORY, NautilusSearchDirectoryClass))
typedef struct NautilusSearchDirectoryDetails NautilusSearchDirectoryDetails;