[gnome-bluetooth] introspection: Fix symbol-prefix passed to g-ir-scanner



commit de803635a771d8af431dfc3382d024aaa9cbcdee
Author: Evan Nemerson <evan coeus-group com>
Date:   Thu Feb 14 01:32:52 2013 -0800

    introspection: Fix symbol-prefix passed to g-ir-scanner
    
    The symbol-prefix should not have a trailing underscore.  Leaving it
    as it currently is causes problems for Vala, which is currently the
    only software to actually use the symbol-prefix from the GIR.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693771

 applet/Makefile.am |    2 +-
 lib/Makefile.am    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/applet/Makefile.am b/applet/Makefile.am
index 251575d..a8d0341 100644
--- a/applet/Makefile.am
+++ b/applet/Makefile.am
@@ -25,7 +25,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=$(top_builddir
 
 if HAVE_INTROSPECTION
 GnomeBluetoothApplet-1.0.gir: libgnome-bluetooth-applet.la
-GnomeBluetoothApplet_1_0_gir_SCANNERFLAGS = --warn-all --symbol-prefix=bluetooth_ 
--identifier-prefix=Bluetooth --include-uninstalled=$(top_builddir)/lib/GnomeBluetooth-1.0.gir
+GnomeBluetoothApplet_1_0_gir_SCANNERFLAGS = --warn-all --symbol-prefix=bluetooth 
--identifier-prefix=Bluetooth --include-uninstalled=$(top_builddir)/lib/GnomeBluetooth-1.0.gir
 GnomeBluetoothApplet_1_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 GModule-2.0
 GnomeBluetoothApplet_1_0_gir_PACKAGES = gobject-2.0 gtk+-3.0 gmodule-2.0 glib-2.0
 GnomeBluetoothApplet_1_0_gir_CFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/lib
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b5faec6..907d163 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -81,7 +81,7 @@ GnomeBluetooth_1_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 GModule-2.0
 GnomeBluetooth_1_0_gir_PACKAGES = gobject-2.0 gtk+-3.0 gmodule-2.0 glib-2.0
 GnomeBluetooth_1_0_gir_CFLAGS = -I$(srcdir)
 GnomeBluetooth_1_0_gir_LIBS = libgnome-bluetooth.la
-GnomeBluetooth_1_0_gir_SCANNERFLAGS = --symbol-prefix=bluetooth_ --identifier-prefix=Bluetooth 
--pkg-export=gnome-bluetooth-1.0
+GnomeBluetooth_1_0_gir_SCANNERFLAGS = --symbol-prefix=bluetooth --identifier-prefix=Bluetooth 
--pkg-export=gnome-bluetooth-1.0
 GnomeBluetooth_1_0_gir_FILES = $(introspection_files)
 INTROSPECTION_GIRS += GnomeBluetooth-1.0.gir
 


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