gnome-utils r8435 - trunk/gsearchtool
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-utils r8435 - trunk/gsearchtool
- Date: Wed, 25 Feb 2009 21:58:22 +0000 (UTC)
Author: cosimoc
Date: Wed Feb 25 21:58:22 2009
New Revision: 8435
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8435&view=rev
Log:
2009-02-25 Cosimo Cecchi <cosimoc gnome org>
* gsearchtool.h: get rid of deprecated GTK_CHECK_* macros.
Patch by Thomas Andersen (#573053).
Modified:
trunk/gsearchtool/ChangeLog
trunk/gsearchtool/gsearchtool.h
Modified: trunk/gsearchtool/gsearchtool.h
==============================================================================
--- trunk/gsearchtool/gsearchtool.h (original)
+++ trunk/gsearchtool/gsearchtool.h Wed Feb 25 21:58:22 2009
@@ -36,12 +36,17 @@
#include <gconf/gconf.h>
#include <gconf/gconf-client.h>
-#define GSEARCH_TYPE_WINDOW (gsearch_window_get_type ())
-#define GSEARCH_WINDOW(obj) (GTK_CHECK_CAST((obj), GSEARCH_TYPE_WINDOW, GSearchWindow))
-#define GSEARCH_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST((klass), GSEARCH_TYPE_WINDOW, GSearchWindowClass))
-#define GSEARCH_IS_WINDOW(obj) (GTK_CHECK_TYPE((obj), GSEARCH_TYPE_WINDOW))
-#define GSEARCH_IS_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE((obj), GSEARCH_TYPE_WINDOW))
-#define GSEARCH_WINDOW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS((obj), GSEARCH_TYPE_WINDOW, GSearchWindowClass))
+#define GSEARCH_TYPE_WINDOW gsearch_window_get_type()
+#define GSEARCH_WINDOW(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSEARCH_TYPE_WINDOW, GSearchWindow))
+#define GSEARCH_WINDOW_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), GSEARCH_TYPE_WINDOW, GSearchWindowClass))
+#define GSEARCH_IS_WINDOW(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSEARCH_TYPE_WINDOW))
+#define GSEARCH_IS_WINDOW_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), GSEARCH_TYPE_WINDOW))
+#define GSEARCH_WINDOW_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), GSEARCH_TYPE_WINDOW, GSearchWindowClass))
#define GNOME_SEARCH_TOOL_ICON "system-search"
#define MINIMUM_WINDOW_WIDTH 420
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]