diff options
author | Carsten Haitzler <raster@src.gnome.org> | 1998-07-03 20:33:16 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@src.gnome.org> | 1998-07-03 20:33:16 +0000 |
commit | 4389781ea1ec28ddcfc7a2c7f543ce7405d34f31 (patch) | |
tree | 924b41dff9752c6dd7f91fdea0e5b4f51135c302 /gtk/gtkthemes.c | |
parent | 0da6bdc3304d7fcd0d37e04a117804b229990d1f (diff) | |
download | gtk+-themes.tar.gz |
Wheee now others can get to play :)themes
Wheee now others can get to play :)
Diffstat (limited to 'gtk/gtkthemes.c')
-rw-r--r-- | gtk/gtkthemes.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gtk/gtkthemes.c b/gtk/gtkthemes.c index f82aef53ec..60189e3584 100644 --- a/gtk/gtkthemes.c +++ b/gtk/gtkthemes.c @@ -109,6 +109,14 @@ gtk_themes_init (int *argc, th_dat.functions.button.init=NULL; th_dat.functions.button.draw=NULL; th_dat.functions.button.exit=NULL; + th_dat.functions.window.border=NULL; + th_dat.functions.window.init=NULL; + th_dat.functions.window.draw=NULL; + th_dat.functions.window.exit=NULL; + th_dat.functions.check_button.border=NULL; + th_dat.functions.check_button.init=NULL; + th_dat.functions.check_button.draw=NULL; + th_dat.functions.check_button.exit=NULL; return; } /* extract symbols from the lib */ @@ -118,7 +126,27 @@ gtk_themes_init (int *argc, th_dat.functions.button.init=dlsym(th_dat.theme_lib,"button_init"); th_dat.functions.button.draw=dlsym(th_dat.theme_lib,"button_draw"); th_dat.functions.button.exit=dlsym(th_dat.theme_lib,"button_exit"); + th_dat.functions.window.border=dlsym(th_dat.theme_lib,"window_border"); + th_dat.functions.window.init=dlsym(th_dat.theme_lib,"window_init"); + th_dat.functions.window.draw=dlsym(th_dat.theme_lib,"window_draw"); + th_dat.functions.window.exit=dlsym(th_dat.theme_lib,"window_exit"); + th_dat.functions.check_button.border=dlsym(th_dat.theme_lib,"check_button_border"); + th_dat.functions.check_button.init=dlsym(th_dat.theme_lib,"check_button_init"); + th_dat.functions.check_button.draw=dlsym(th_dat.theme_lib,"check_button_draw"); + th_dat.functions.check_button.exit=dlsym(th_dat.theme_lib,"check_button_exit"); + printf("Found button_border %x\n",th_dat.functions.button.border); + printf("Found button_init %x\n",th_dat.functions.button.init); + printf("Found button_draw %x\n",th_dat.functions.button.draw); + printf("Found button_exit %x\n",th_dat.functions.button.exit); + printf("Found window_border %x\n",th_dat.functions.window.border); + printf("Found window_init %x\n",th_dat.functions.window.init); + printf("Found window_draw %x\n",th_dat.functions.window.draw); + printf("Found window_exit %x\n",th_dat.functions.window.exit); + printf("Found check_button_border %x\n",th_dat.functions.check_button.border); + printf("Found check_button_init %x\n",th_dat.functions.check_button.init); + printf("Found check_button_draw %x\n",th_dat.functions.check_button.draw); + printf("Found check_button_exit %x\n",th_dat.functions.check_button.exit); /* call the theme's init (theme_init) function to let it setup anything */ th_dat.init(argc,argv); } |