[beast/devel: 16/26] BEAST-GTK: remove unused cookie handling around sfi_url_show()
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 16/26] BEAST-GTK: remove unused cookie handling around sfi_url_show()
- Date: Mon, 13 Oct 2014 02:27:27 +0000 (UTC)
commit 9c5fbd0c76f1a7dd0ecb920e30c15bd894451b18
Author: Tim Janik <timj gnu org>
Date: Sun Oct 12 05:26:02 2014 +0200
BEAST-GTK: remove unused cookie handling around sfi_url_show()
beast-gtk/bstapp.cc | 11 ++---------
beast-gtk/bstapp.hh | 2 --
2 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/beast-gtk/bstapp.cc b/beast-gtk/bstapp.cc
index fe1e3ee..99bf846 100644
--- a/beast-gtk/bstapp.cc
+++ b/beast-gtk/bstapp.cc
@@ -208,8 +208,6 @@ bst_app_init (BstApp *self)
BseCategorySeq *cseq;
GxkActionList *al1, *al2;
- self->cookie = g_strdup ("");
-
g_object_set (self,
"name", "BEAST-Application",
"allow_shrink", TRUE,
@@ -377,7 +375,6 @@ bst_app_finalize (GObject *object)
g_object_unref (self->ppages);
self->ppages = NULL;
}
- g_free (self->cookie);
G_OBJECT_CLASS (bst_app_parent_class)->finalize (object);
}
@@ -840,7 +837,7 @@ app_action_exec (gpointer data,
{
static GtkWidget *bst_preferences = NULL;
BstApp *self = BST_APP (data);
- const gchar *docs_url = NULL, *docs_title = "";
+ const gchar *docs_url = NULL;
GtkWidget *widget = GTK_WIDGET (self);
gxk_status_window_push (widget);
@@ -1039,25 +1036,21 @@ app_action_exec (gpointer data,
break;
case ACTION_HELP_INDEX:
docs_url = "html/index.html";
- docs_title = "BEAST Index";
goto BROWSE_LOCAL_URL;
case ACTION_HELP_RELEASE_NOTES:
docs_url = "html/beast-NEWS.html";
- docs_title = "BEAST Release Notes";
goto BROWSE_LOCAL_URL;
case ACTION_HELP_DSP_ENGINE:
docs_url = "html/engine-mplan.html";
- docs_title = "BEAST DSP Engine";
goto BROWSE_LOCAL_URL;
case ACTION_HELP_DEVELOPMENT:
docs_url = "html/index.html";
- docs_title = "BEAST Development Index";
goto BROWSE_LOCAL_URL;
BROWSE_LOCAL_URL:
if (docs_url)
{
gchar *local_url = g_strconcat ("file://", BST_PATH_DOCS, "/", docs_url, NULL);
- sfi_url_show_with_cookie (local_url, docs_title, self->cookie);
+ sfi_url_show (local_url);
g_free (local_url);
}
break;
diff --git a/beast-gtk/bstapp.hh b/beast-gtk/bstapp.hh
index 6570c4e..df15271 100644
--- a/beast-gtk/bstapp.hh
+++ b/beast-gtk/bstapp.hh
@@ -29,8 +29,6 @@ struct _BstApp
guint select_unseen_super : 1;
- gchar *cookie;
-
GxkParam *wave_file;
GxkRadget *box;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]