aboutsummaryrefslogtreecommitdiffstats
path: root/src/session.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-10 03:16:35 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-10 03:16:35 +0800
commitd68d147c784bde6f5d13c200eb2d92a40141a5a3 (patch)
tree8d9d57cc6cf037c32acc56aecac0fa99be7169bd /src/session.h
parentc135299f16ff6d9669ccc12a7f670d9e574bbaa0 (diff)
downloadgsoc2013-epiphany-d68d147c784bde6f5d13c200eb2d92a40141a5a3.tar
gsoc2013-epiphany-d68d147c784bde6f5d13c200eb2d92a40141a5a3.tar.gz
gsoc2013-epiphany-d68d147c784bde6f5d13c200eb2d92a40141a5a3.tar.bz2
gsoc2013-epiphany-d68d147c784bde6f5d13c200eb2d92a40141a5a3.tar.lz
gsoc2013-epiphany-d68d147c784bde6f5d13c200eb2d92a40141a5a3.tar.xz
gsoc2013-epiphany-d68d147c784bde6f5d13c200eb2d92a40141a5a3.tar.zst
gsoc2013-epiphany-d68d147c784bde6f5d13c200eb2d92a40141a5a3.zip
Cleanup session. Persist also history and bookmarks.
2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_open_bookmarks_editor), (ephy_automation_init), (ephy_automation_object_finalize), (ephy_automation_class_init): * src/ephy-completion-model.c: (root_child_removed_cb): * src/ephy-main.c: (ephy_main_start): * src/ephy-shell.c: (ephy_shell_get_active_window), (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (remove_from_session), (ephy_window_init): * src/session.c: (session_autoresume), (session_close), (session_dispose), (save_window_geometry), (save_tool_window), (save_ephy_window), (session_save), (session_load), (session_get_windows), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (session_add_window), (session_remove_window), (save_yourself_cb), (session_die_cb), (gnome_session_init), (session_init): * src/session.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Cleanup session. Persist also history and bookmarks.
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/session.h b/src/session.h
index 0926a0f50..6e7711a16 100644
--- a/src/session.h
+++ b/src/session.h
@@ -19,10 +19,7 @@
#ifndef SESSION_H
#define SESSION_H
-#include "ephy-window.h"
-
-#include <glib-object.h>
-#include <glib.h>
+#include <gtk/gtkwindow.h>
G_BEGIN_DECLS
@@ -51,34 +48,27 @@ struct SessionClass
GObjectClass parent_class;
void ( *new_window) (Session *session,
- EphyWindow *window);
+ GtkWindow *window);
void ( *close_window) (Session *session,
- EphyWindow *window);
+ GtkWindow *window);
};
GType session_get_type (void);
Session *session_new (void);
-void session_close (Session *session);
-
void session_load (Session *session,
const char *filename);
-void session_save (Session *session,
- const char *filename);
-
gboolean session_autoresume (Session *session);
-const GList *session_get_windows (Session *session);
+GList *session_get_windows (Session *session);
void session_add_window (Session *session,
- EphyWindow *window);
+ GtkWindow *window);
void session_remove_window (Session *session,
- EphyWindow *window);
-
-EphyWindow *session_get_active_window (Session *session);
+ GtkWindow *window);
G_END_DECLS