From: Martin Kretzschmar Date: Sat, 3 May 2003 17:44:05 +0000 (+0000) Subject: add GMutex (not used yet) X-Git-Tag: GPDF_0_101^0 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=91668231d592b457b76d189cfbd5519e734543bf;p=evince.git 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 --- diff --git a/pdf/xpdf/gpdf-g-switch.h b/pdf/xpdf/gpdf-g-switch.h index bc38800b..ffc59c2b 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