From 43c9a702c708231b038ca072ef4738d5ea547ccf Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 14 May 2012 21:33:08 +0200 Subject: [PATCH] quartz: Don't use compound text for selections Explicitly return FALSE in selection_set_compound_text() to indicate that we don't want to support compound text selections; this will eliminate the "not implemented" warning for quartz. --- gtk/gtkselection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index c2c9d9799a..4d24c81d52 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -1328,8 +1328,8 @@ selection_set_compound_text (GtkSelectionData *selection_data, result = TRUE; } g_free (tmp); -#elif defined GDK_WINDOWING_WIN32 - result = FALSE; /* not needed on Win32 */ +#elif defined(GDK_WINDOWING_WIN32) || defined(GDK_WINDOWING_QUARTZ) + result = FALSE; /* not needed on Win32 or Quartz */ #else g_warning ("%s is not implemented", G_STRFUNC); result = FALSE;