summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-11-28 23:23:57 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-11-28 23:23:57 +0100
commit06f9b4dbacccc83f6fe0ecf42cb3c56410051a42 (patch)
tree3bf4038bd8f9cfbd09acadfffccf94876bd0b26b
parent695680a36cc9ed7e37e6c1b4bb276574071b4671 (diff)
downloadffi-efl-06f9b4dbacccc83f6fe0ecf42cb3c56410051a42.zip
ffi-efl-06f9b4dbacccc83f6fe0ecf42cb3c56410051a42.tar.gz
fix elm_tooltip function prefix
-rw-r--r--lib/efl/native/elm/elm_tooltip.rb2
-rwxr-xr-xtools/genruby.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/efl/native/elm/elm_tooltip.rb b/lib/efl/native/elm/elm_tooltip.rb
index 345ac8d..3532580 100644
--- a/lib/efl/native/elm/elm_tooltip.rb
+++ b/lib/efl/native/elm/elm_tooltip.rb
@@ -8,7 +8,7 @@ module Efl
#
module ElmTooltip
#
- FCT_PREFIX = 'elm_' unless const_defined? :FCT_PREFIX
+ FCT_PREFIX = 'elm_object_tooltip_' unless const_defined? :FCT_PREFIX
#
def self.method_missing meth, *args, &block
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 1b27880..92bc5b0 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -369,6 +369,7 @@ libs << {
:requires=>["#{NATIVE}/evas","#{NATIVE}/elementary"], :constants=>[]
}
libs << elm_h('elm_tooltip.h', 'ElmTooltip')
+libs[-1][:prefix] = 'elm_object_tooltip'
libs << elm_h('elm_object_item.h', 'ElmObjectItem')
libs << elm_h('elm_object.h', 'ElmObject', ["#{NATIVE}/edje","#{NATIVE}/elementary"])
libs << elm_h('elm_icon.h', 'ElmIcon')