]> www.fi.muni.cz Git - evince.git/commitdiff
add GMutex (not used yet) GPDF_0_101
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>
Sat, 3 May 2003 17:44:05 +0000 (17:44 +0000)
committerMartin Kretzschmar <mkretzschmar@src.gnome.org>
Sat, 3 May 2003 17:44:05 +0000 (17:44 +0000)
* 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

pdf/xpdf/gpdf-g-switch.h

index bc38800b2626ae52175ef10259ccf9b4010acd25..ffc59c2b3d9cd65d2473f75c6db6b2a584772fbd 100644 (file)
 #  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