Re: Patch GtkSelection 2.16
- From: Kevin Ryde <user42 zip com au>
- To: "Emmanuel Rodriguez" <emmanuel rodriguez gmail com>
- Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: Patch GtkSelection 2.16
- Date: Mon, 19 Jan 2009 09:09:06 +1100
"Emmanuel Rodriguez" <emmanuel rodriguez gmail com> writes:
+# define gtk_selection_data_get_selection (d) ((d)->selection)
No space between a macro and its formal parametes :-)
Index: GtkSelection.xs
===================================================================
--- GtkSelection.xs (revision 2115)
+++ GtkSelection.xs (working copy)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2006 by the gtk2-perl team (see the file AUTHORS)
+ * Copyright (c) 2003-2006, 2009 by the gtk2-perl team (see the file AUTHORS)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -23,16 +23,16 @@
#if !GTK_CHECK_VERSION (2, 15, 0) /* FIXME 2.16 */
-# define gtk_selection_data_get_selection (d) ((d)->selection)
+# define gtk_selection_data_get_selection(d) ((d)->selection)
#endif /* 2.16 */
#if !GTK_CHECK_VERSION (2, 14, 0)
-# define gtk_selection_data_get_target (d) ((d)->target)
-# define gtk_selection_data_get_data_type (d) ((d)->type)
-# define gtk_selection_data_get_data (d) ((d)->data)
-# define gtk_selection_data_get_format (d) ((d)->format)
-# define gtk_selection_data_get_length (d) ((d)->length)
-# define gtk_selection_data_get_display (d) ((d)->display)
+# define gtk_selection_data_get_target(d) ((d)->target)
+# define gtk_selection_data_get_data_type(d) ((d)->type)
+# define gtk_selection_data_get_data(d) ((d)->data)
+# define gtk_selection_data_get_format(d) ((d)->format)
+# define gtk_selection_data_get_length(d) ((d)->length)
+# define gtk_selection_data_get_display(d) ((d)->display)
#endif /* 2.14 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]