summaryrefslogtreecommitdiff
path: root/pluma/pluma.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-04 12:46:45 +0100
committerStefano Karapetsas <[email protected]>2013-11-04 12:46:45 +0100
commit76265841b74cad78a60e5f960d37beb8ba854e2e (patch)
tree17e830fe5d6acbbcc8e7497fa27dcdde42933f2c /pluma/pluma.c
parentc0bd4250ef3ceda457aaa492cc950b215f5db06e (diff)
downloadpluma-76265841b74cad78a60e5f960d37beb8ba854e2e.tar.bz2
pluma-76265841b74cad78a60e5f960d37beb8ba854e2e.tar.xz
Fix some deprecations
Diffstat (limited to 'pluma/pluma.c')
-rw-r--r--pluma/pluma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma.c b/pluma/pluma.c
index a2e911af..7fbe58cb 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_get_realized (window))
+ if (!gtk_widget_get_realized (GTK_WIDGET (window)))
gtk_widget_realize (GTK_WIDGET (window));
#ifdef GDK_WINDOWING_X11