binding/afbclient: use the correct binding names
[staging/windowmanager.git] / generate-binding-glue.py
index 4791b4d..177b8c2 100644 (file)
@@ -106,20 +106,20 @@ API = {
         'api': 'g_afb_instance->app.api.', # where are our API functions
         'functions': [
             {
-                'name': 'request_surface',
+                'name': 'requestsurface',
                 #'return_type': 'int', # Or do they return all just some json?
                 'args': [ # describes the functions arguments, and their names as found in the json request
                     { 'name': 'drawing_name', 'type': 'char const*', 'jtype': 'string' },
                 ],
             },
             {
-                'name': 'activate_surface',
+                'name': 'activatesurface',
                 'args': [
                     { 'name': 'drawing_name', 'type': 'char const*', 'jtype': 'string' },
                 ],
             },
             {
-                'name': 'deactivate_surface',
+                'name': 'deactivatesurface',
                 'args': [
                     { 'name': 'drawing_name', 'type': 'char const*', 'jtype': 'string' },
                 ],