Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
62ea135b
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
62ea135b
编写于
5月 18, 2010
作者:
L
lana
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
2c5deeaf
c56b9d9b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
6 deletion
+8
-6
src/solaris/native/sun/awt/gtk2_interface.c
src/solaris/native/sun/awt/gtk2_interface.c
+8
-5
src/solaris/native/sun/awt/gtk2_interface.h
src/solaris/native/sun/awt/gtk2_interface.h
+0
-1
未找到文件。
src/solaris/native/sun/awt/gtk2_interface.c
浏览文件 @
62ea135b
...
...
@@ -77,6 +77,7 @@ const gint DEFAULT = 1 << 10;
static
void
*
gtk2_libhandle
=
NULL
;
static
void
*
gthread_libhandle
=
NULL
;
static
gboolean
flag_g_thread_get_initialized
=
FALSE
;
static
jmp_buf
j
;
/* Widgets */
...
...
@@ -436,8 +437,10 @@ void gtk2_file_chooser_load()
fp_gtk_file_chooser_set_filter
=
dl_symbol
(
"gtk_file_chooser_set_filter"
);
fp_gtk_file_chooser_get_type
=
dl_symbol
(
"gtk_file_chooser_get_type"
);
fp_gtk_file_filter_new
=
dl_symbol
(
"gtk_file_filter_new"
);
fp_gtk_file_chooser_set_do_overwrite_confirmation
=
dl_symbol
(
"gtk_file_chooser_set_do_overwrite_confirmation"
);
if
(
fp_gtk_check_version
(
2
,
8
,
0
)
==
NULL
)
{
fp_gtk_file_chooser_set_do_overwrite_confirmation
=
dl_symbol
(
"gtk_file_chooser_set_do_overwrite_confirmation"
);
}
fp_gtk_file_chooser_set_select_multiple
=
dl_symbol
(
"gtk_file_chooser_set_select_multiple"
);
fp_gtk_file_chooser_get_current_folder
=
dl_symbol
(
...
...
@@ -641,8 +644,6 @@ gboolean gtk2_load()
/**
* GLib thread system
*/
fp_g_thread_get_initialized
=
dl_symbol_gthread
(
"g_thread_get_initialized"
);
fp_g_thread_init
=
dl_symbol_gthread
(
"g_thread_init"
);
fp_gdk_threads_init
=
dl_symbol
(
"gdk_threads_init"
);
fp_gdk_threads_enter
=
dl_symbol
(
"gdk_threads_enter"
);
...
...
@@ -744,7 +745,9 @@ gboolean gtk2_load()
if
(
fp_gtk_check_version
(
2
,
2
,
0
)
==
NULL
)
{
// Init the thread system to use GLib in a thread-safe mode
if
(
!
fp_g_thread_get_initialized
())
{
if
(
!
flag_g_thread_get_initialized
)
{
flag_g_thread_get_initialized
=
TRUE
;
fp_g_thread_init
(
NULL
);
//According the GTK documentation, gdk_threads_init() should be
...
...
src/solaris/native/sun/awt/gtk2_interface.h
浏览文件 @
62ea135b
...
...
@@ -786,7 +786,6 @@ void (*fp_gtk_main)(void);
guint
(
*
fp_gtk_main_level
)(
void
);
gboolean
(
*
fp_g_thread_get_initialized
)(
void
);
void
(
*
fp_g_thread_init
)(
GThreadFunctions
*
vtable
);
void
(
*
fp_gdk_threads_init
)(
void
);
void
(
*
fp_gdk_threads_enter
)(
void
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录