44 |
#include <gdk/gdkx.h> |
#include <gdk/gdkx.h> |
45 |
#include <X11/Xatom.h> |
#include <X11/Xatom.h> |
46 |
|
|
|
struct state_table *native_pixbufdecoder_state_table; |
|
|
|
|
47 |
/* FIXME: we're currently seeing the double-activation that occurs |
/* FIXME: we're currently seeing the double-activation that occurs |
48 |
with metacity and GTK. See |
with metacity and GTK. See |
49 |
http://bugzilla.gnome.org/show_bug.cgi?id=140977 for details. */ |
http://bugzilla.gnome.org/show_bug.cgi?id=140977 for details. */ |
545 |
|
|
546 |
ptr = NSA_GET_PTR (env, obj); |
ptr = NSA_GET_PTR (env, obj); |
547 |
|
|
548 |
loader = get_state (env, decoder, native_pixbufdecoder_state_table); |
loader = NSA_GET_PB_PTR (env, decoder); |
549 |
g_assert (loader != NULL); |
g_assert (loader != NULL); |
550 |
|
|
551 |
gdk_threads_enter (); |
gdk_threads_enter (); |