summaryrefslogtreecommitdiffstats
path: root/test/test_elm_win-native.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:59:43 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:59:43 +0100
commitd2b99a7cdc961bb69f750743535fce49cf792186 (patch)
treebc6b6b1c072bc91538a153e4d7fc4389543614b5 /test/test_elm_win-native.rb
parentc7c4a7cea393e77d0a82a660c67da178ac334f81 (diff)
downloadffi-efl-d2b99a7cdc961bb69f750743535fce49cf792186.zip
ffi-efl-d2b99a7cdc961bb69f750743535fce49cf792186.tar.gz
test/test_elm_win-native.rb: works again
Diffstat (limited to 'test/test_elm_win-native.rb')
-rw-r--r--test/test_elm_win-native.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_elm_win-native.rb b/test/test_elm_win-native.rb
index 318c3cd..0dbf9e0 100644
--- a/test/test_elm_win-native.rb
+++ b/test/test_elm_win-native.rb
@@ -1,12 +1,14 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/native' # requires efl/native/* which populates Efl::Native
-require 'efl/elementary' # for Efl::Elm.init convenience
+require 'efl/native/elm/elm_win'
+require 'efl/native/elm/elm_bg'
+require 'efl/native/elm/elm_label'
+require 'efl/native/elm/elm_object'
#
include Efl::Native
#
-Efl::Elm.init
+elm_init 0, FFI::MemoryPointer::NULL
#
win_del = Proc.new { |data,evas_object,event_info|
elm_exit();