[recipes] Try to fix sending mail on OS X
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Try to fix sending mail on OS X
- Date: Wed, 1 Mar 2017 03:52:07 +0000 (UTC)
commit 1b8efe9677a64d92b6a583a95a208cf74d05af81
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 28 22:51:34 2017 -0500
Try to fix sending mail on OS X
We should still do the mailto: thing even if we can't
get a window handle.
src/gr-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-utils.c b/src/gr-utils.c
index aea8a71..af74a4f 100644
--- a/src/gr-utils.c
+++ b/src/gr-utils.c
@@ -505,7 +505,6 @@ window_export_handle (GtkWindow *window,
WindowHandleExported callback,
gpointer user_data)
{
-
#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_DISPLAY (gtk_widget_get_display (GTK_WIDGET (window)))) {
GdkWindow *gdk_window = gtk_widget_get_window (GTK_WIDGET (window));
@@ -542,6 +541,7 @@ window_export_handle (GtkWindow *window,
#endif
g_warning ("Couldn't export handle, unsupported windowing system");
+ callback (window, "", user_data);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]