[gtk+/gtk-2-24] quartz: Don't use compound text for selections



commit 43c9a702c708231b038ca072ef4738d5ea547ccf
Author: Christian Kellner <christian kellner lanedo com>
Date:   Mon May 14 21:33:08 2012 +0200

    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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index c2c9d97..4d24c81 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]