policykit-gnome r34 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: policykit-gnome r34 - trunk/src
- Date: Fri, 20 Jun 2008 21:07:05 +0000 (UTC)
Author: chpe
Date: Fri Jun 20 21:07:04 2008
New Revision: 34
URL: http://svn.gnome.org/viewvc/policykit-gnome?rev=34&view=rev
Log:
Don't use deprecated gtk type macros. Bug #539284.
Modified:
trunk/src/polkit-gnome-auth-dialog.h
Modified: trunk/src/polkit-gnome-auth-dialog.h
==============================================================================
--- trunk/src/polkit-gnome-auth-dialog.h (original)
+++ trunk/src/polkit-gnome-auth-dialog.h Fri Jun 20 21:07:04 2008
@@ -26,10 +26,10 @@
G_BEGIN_DECLS
#define POLKIT_GNOME_TYPE_AUTH_DIALOG (polkit_gnome_auth_dialog_get_type ())
-#define POLKIT_GNOME_AUTH_DIALOG(obj) (GTK_CHECK_CAST ((obj), POLKIT_GNOME_TYPE_AUTH_DIALOG, PolkitGnomeAuthDialog))
-#define POLKIT_GNOME_AUTH_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), POLKIT_GNOME_TYPE_AUTH_DIALOG, PolkitGnomeAuthDialogClass))
-#define POLKIT_GNOME_IS_AUTH_DIALOG(obj) (GTK_CHECK_TYPE ((obj), POLKIT_GNOME_TYPE_AUTH_DIALOG))
-#define POLKIT_GNOME_IS_AUTH_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), POLKIT_GNOME_TYPE_AUTH_DIALOG))
+#define POLKIT_GNOME_AUTH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POLKIT_GNOME_TYPE_AUTH_DIALOG, PolkitGnomeAuthDialog))
+#define POLKIT_GNOME_AUTH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POLKIT_GNOME_TYPE_AUTH_DIALOG, PolkitGnomeAuthDialogClass))
+#define POLKIT_GNOME_IS_AUTH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POLKIT_GNOME_TYPE_AUTH_DIALOG))
+#define POLKIT_GNOME_IS_AUTH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POLKIT_GNOME_TYPE_AUTH_DIALOG))
typedef struct _PolkitGnomeAuthDialog PolkitGnomeAuthDialog;
typedef struct _PolkitGnomeAuthDialogClass PolkitGnomeAuthDialogClass;
@@ -50,7 +50,7 @@
void (*user_selected) (PolkitGnomeAuthDialog *auth_dialog, const char *user_name);
};
-GtkType polkit_gnome_auth_dialog_get_type (void);
+GType polkit_gnome_auth_dialog_get_type (void);
GtkWidget *polkit_gnome_auth_dialog_new (const char *path_to_program,
const char *action_id,
const char *vendor,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]