diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2005-07-05 17:02:52 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-07-05 17:02:52 (GMT) |
commit | 8d858ef399ef70a2c9efb391242e8c8be70e2109 (patch) | |
tree | faccd24d5152eb6d604bb7b7516b8121beee6db3 /shell/ev-window.c | |
parent | ffd47fa767f69c0b534037a6e067534d7d2345c9 (diff) |
Marco Pesenti Gritti <mpg@redhat.com>
2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
Marco Pesenti Gritti <mpg@redhat.com>
* shell/Makefile.am: Add --prefix for dbus-binding-tool script
* shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
functions to the format required by dbus
* shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
errors. Use the RPC parameters in the expected way
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index c61515b..8f55f13 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -190,7 +190,7 @@ static void ev_window_stop_presentation (EvWindow *windo static void ev_window_cmd_view_presentation (GtkAction *action, EvWindow *window); static void show_fullscreen_popup (EvWindow *window); - + G_DEFINE_TYPE (EvWindow, ev_window, GTK_TYPE_WINDOW) @@ -1015,7 +1015,7 @@ ev_window_cmd_recent_file_activate (GtkAction *action, uri = egg_recent_item_get_uri (item); - ev_application_open_uri (EV_APP, uri, NULL); + ev_application_open_uri (EV_APP, uri, NULL, NULL); g_free (uri); } @@ -1651,7 +1651,7 @@ ev_window_run_fullscreen (EvWindow *window) g_object_set (G_OBJECT (window->priv->scrolled_window), "shadow-type", GTK_SHADOW_NONE, NULL); - + g_signal_connect (window->priv->view, "motion-notify-event", G_CALLBACK (fullscreen_motion_notify_cb), @@ -2501,7 +2501,6 @@ ev_window_dispose (GObject *object) priv->recent_view = NULL; } - if (priv->ui_manager) { g_object_unref (priv->ui_manager); priv->ui_manager = NULL; |