[vala] D-Bus: Fix static modifiers for helper functions



commit 57622b004da3effd16f145484a0cfd91f9b1e568
Author: Jürg Billeter <j bitron ch>
Date:   Wed Apr 8 19:50:48 2009 +0200

    D-Bus: Fix static modifiers for helper functions
---
 gobject/valadbusservermodule.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gobject/valadbusservermodule.vala b/gobject/valadbusservermodule.vala
index 936d33a..e02b7ed 100644
--- a/gobject/valadbusservermodule.vala
+++ b/gobject/valadbusservermodule.vala
@@ -325,7 +325,7 @@ internal class Vala.DBusServerModule : DBusClientModule {
 		cfunc.add_parameter (new CCodeFormalParameter ("path", "const char*"));
 		cfunc.add_parameter (new CCodeFormalParameter ("object", "void*"));
 
-		if (!sym.is_internal_symbol ()) {
+		if (!sym.is_private_symbol ()) {
 			dbus_glib_h_needed_in_header = true;
 		} else {
 			dbus_glib_h_needed = true;
@@ -1135,7 +1135,7 @@ internal class Vala.DBusServerModule : DBusClientModule {
 		cfunc.add_parameter (new CCodeFormalParameter ("message", "DBusMessage*"));
 		cfunc.add_parameter (new CCodeFormalParameter ("object", "void*"));
 
-		if (sym.is_internal_symbol ()) {
+		if (sym.is_private_symbol ()) {
 			cfunc.modifiers |= CCodeModifiers.STATIC;
 		}
 



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