summaryrefslogtreecommitdiff
path: root/src/nautilus-query-editor.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 /src/nautilus-query-editor.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 'src/nautilus-query-editor.h')
-rw-r--r--src/nautilus-query-editor.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/nautilus-query-editor.h b/src/nautilus-query-editor.h
index 411899137..de06b87ac 100644
--- a/src/nautilus-query-editor.h
+++ b/src/nautilus-query-editor.h
@@ -29,10 +29,17 @@
#include <libnautilus-private/nautilus-window-info.h>
#include <nautilus-search-bar.h>
-#define NAUTILUS_TYPE_QUERY_EDITOR (nautilus_query_editor_get_type ())
-#define NAUTILUS_QUERY_EDITOR(obj) GTK_CHECK_CAST (obj, NAUTILUS_TYPE_QUERY_EDITOR, NautilusQueryEditor)
-#define NAUTILUS_QUERY_EDITOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, NAUTILUS_TYPE_QUERY_EDITOR, NautilusQueryEditorClass)
-#define NAUTILUS_IS_QUERY_EDITOR(obj) GTK_CHECK_TYPE (obj, NAUTILUS_TYPE_QUERY_EDITOR)
+#define NAUTILUS_TYPE_QUERY_EDITOR nautilus_query_editor_get_type()
+#define NAUTILUS_QUERY_EDITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_QUERY_EDITOR, NautilusQueryEditor))
+#define NAUTILUS_QUERY_EDITOR_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_QUERY_EDITOR, NautilusQueryEditorClass))
+#define NAUTILUS_IS_QUERY_EDITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_QUERY_EDITOR))
+#define NAUTILUS_IS_QUERY_EDITOR_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_QUERY_EDITOR))
+#define NAUTILUS_QUERY_EDITOR_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_QUERY_EDITOR, NautilusQueryEditorClass))
typedef struct NautilusQueryEditorDetails NautilusQueryEditorDetails;