Build with GSEAL_ENABLE and #undef it where accessors are missing

This commit is contained in:
Michael Natterer
2009-10-17 18:55:14 +02:00
parent fcd346a227
commit 8cee9c66a7
5 changed files with 24 additions and 15 deletions

View File

@ -18,6 +18,8 @@
#include "config.h"
#undef GSEAL_ENABLE
#include <gtk/gtk.h>
#include "libgimpmodule/gimpmodule.h"
@ -290,7 +292,7 @@ gimp_window_set_transient_for (GtkWindow *window,
if (! parent)
return;
if (GTK_WIDGET_REALIZED (window))
if (GTK_WIDGET_REALIZED (GTK_WIDGET (window)))
gdk_window_set_transient_for (gtk_widget_get_window (GTK_WIDGET (window)),
parent);