diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-30 00:56:56 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-30 00:56:56 +0100 |
commit | 7f0ccea48196a0da9523db3d566ee8020cd742a1 (patch) | |
tree | 4a66f87edcc70ca3949c750148df218c9a41ba28 /pluma/pluma.c | |
parent | 5f87f646777bf5b09610bbc6eed8fafd007f34c6 (diff) | |
download | pluma-7f0ccea48196a0da9523db3d566ee8020cd742a1.tar.bz2 pluma-7f0ccea48196a0da9523db3d566ee8020cd742a1.tar.xz |
pluma: Add GTK3 support
Diffstat (limited to 'pluma/pluma.c')
-rw-r--r-- | pluma/pluma.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pluma/pluma.c b/pluma/pluma.c index 61babb3f..a2e911af 100644 --- a/pluma/pluma.c +++ b/pluma/pluma.c @@ -397,7 +397,7 @@ on_message_received (const char *message, * terminal. We also need to make sure that the window * has been realized otherwise it will not work. lame. */ - if (!GTK_WIDGET_REALIZED (window)) + if (!gtk_widget_get_realized (window)) gtk_widget_realize (GTK_WIDGET (window)); #ifdef GDK_WINDOWING_X11 @@ -556,10 +556,14 @@ main (int argc, char *argv[]) gchar *icon_dir; /* Init type system as soon as possible */ +#if !GLIB_CHECK_VERSION (2, 36, 0) g_type_init (); +#endif /* Init glib threads asap */ +#if !GLIB_CHECK_VERSION (2, 32, 0) g_thread_init (NULL); +#endif /* Setup debugging */ pluma_debug_init (); |