[gedit] [osx] only check GeditWindow-s for getting active window
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] [osx] only check GeditWindow-s for getting active window
- Date: Mon, 8 Sep 2014 14:29:21 +0000 (UTC)
commit e5c24c9fa0d89fa4707ce81e6a50bdae92479e8f
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Mon Sep 8 16:27:58 2014 +0200
[osx] only check GeditWindow-s for getting active window
gedit/gedit-app-osx.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-app-osx.c b/gedit/gedit-app-osx.c
index 189be17..43af394 100644
--- a/gedit/gedit-app-osx.c
+++ b/gedit/gedit-app-osx.c
@@ -53,6 +53,11 @@ ensure_window (GeditAppOSX *app,
continue;
}
+ if (!GEDIT_IS_WINDOW (window))
+ {
+ continue;
+ }
+
win = gtk_widget_get_window (GTK_WIDGET (window));
nswin = gdk_quartz_window_get_nswindow (win);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]