summaryrefslogtreecommitdiff
path: root/pluma/pluma-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'pluma/pluma-window.c')
-rw-r--r--pluma/pluma-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c
index e2041bbf..7e1cee40 100644
--- a/pluma/pluma-window.c
+++ b/pluma/pluma-window.c
@@ -3697,7 +3697,7 @@ bottom_panel_visibility_changed (PlumaPanel *bottom_panel,
gboolean visible;
GtkAction *action;
- visible = GTK_WIDGET_VISIBLE (bottom_panel);
+ visible = GTK_WIDGET_VISIBLE (GTK_WIDGET (bottom_panel));
if (pluma_prefs_manager_bottom_panel_visible_can_set ())
pluma_prefs_manager_set_bottom_panel_visible (visible);
@@ -4169,7 +4169,7 @@ pluma_window_create_tab (PlumaWindow *window,
-1,
jump_to);
- if (!GTK_WIDGET_VISIBLE (window))
+ if (!GTK_WIDGET_VISIBLE (GTK_WIDGET (window)))
{
gtk_window_present (GTK_WINDOW (window));
}
@@ -4221,7 +4221,7 @@ pluma_window_create_tab_from_uri (PlumaWindow *window,
jump_to);
- if (!GTK_WIDGET_VISIBLE (window))
+ if (!GTK_WIDGET_VISIBLE (GTK_WIDGET (window)))
{
gtk_window_present (GTK_WINDOW (window));
}