From 96421ff37cd554af1ac11527bcad25cc2f2f1930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 13 Apr 2010 07:20:31 +0200 Subject: Use accessor functions instead direct access (GSEAL work) Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613 --- capplet/anjal-settings-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capplet/anjal-settings-main.c') diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c index 6352f020bd..aa090e36fd 100644 --- a/capplet/anjal-settings-main.c +++ b/capplet/anjal-settings-main.c @@ -91,7 +91,7 @@ mail_message_received_cb (UniqueApp *app G_GNUC_UNUSED, //mail_shell_set_cmdline_args ((MailShell *)window, args); //mail_shell_handle_cmdline ((MailShell *)window); g_free (url); - gdk_window_raise (((GtkWidget *)window)->window); + gdk_window_raise (gtk_widget_get_window (GTK_WIDGET (window))); gtk_window_deiconify (window); gtk_window_present (window); -- cgit v1.2.3