From 91668231d592b457b76d189cfbd5519e734543bf Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Sat, 03 May 2003 17:44:05 +0000 Subject: add GMutex (not used yet) * xpdf/gpdf-g-switch.h: add GMutex (not used yet) * shell/gpdf.c (gpdf_window_new): s/gtk_type_new/g_object_new/, use construction time properties (gw_setup_window): kill (replaced by constr. time props) (gpdf_window_construct): don't call gw_setup_window (gw_add_control_to_ui, gpdf_window_open): more simplifications due to BonoboWidget (gw_activate_control): ditto -> kill (gw_control_load_pdf, bonobo_stream_for_uri): extract the latter from the former (gw_setup_local_contents, gw_setup_toplevel_ui) (gw_setup_recent_menu, gw_setup_recent_toolitem): slot and ui_component moved to priv * shell/gpdf-window.h (struct _GPdfWindow): move away remaining public fields --- (limited to 'pdf') diff --git a/pdf/xpdf/gpdf-g-switch.h b/pdf/xpdf/gpdf-g-switch.h index bc38800..ffc59c2 100644 --- a/pdf/xpdf/gpdf-g-switch.h +++ b/pdf/xpdf/gpdf-g-switch.h @@ -13,10 +13,12 @@ # undef GString # undef GList # undef GDir +# undef GMutex # undef GPDF_GOO #else # define GString G_String # define GList G_List # define GDir G_Dir +# define GMutex G_Mutex # define GPDF_GOO #endif -- cgit v0.9.1