[gnome-panel] libpanel-util: remove panel_gtk_get_bookmark_file
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] libpanel-util: remove panel_gtk_get_bookmark_file
- Date: Sun, 8 Mar 2020 00:10:05 +0000 (UTC)
commit a2330dde929580b59ae37beead1f380402c1230c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 8 01:59:50 2020 +0200
libpanel-util: remove panel_gtk_get_bookmark_file
gnome-panel/libpanel-util/panel-gtk.c | 11 -----------
gnome-panel/libpanel-util/panel-gtk.h | 1 -
2 files changed, 12 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/panel-gtk.c b/gnome-panel/libpanel-util/panel-gtk.c
index 1e3d0e195..a9301669d 100644
--- a/gnome-panel/libpanel-util/panel-gtk.c
+++ b/gnome-panel/libpanel-util/panel-gtk.c
@@ -79,14 +79,3 @@ panel_gtk_file_chooser_add_image_preview (GtkFileChooser *chooser)
/*
* End of code coming from panel-properties-dialog.c
*/
-
-char *
-panel_gtk_get_bookmark_file (void)
-{
- if (gtk_check_version (3, 5, 1) == NULL)
- return g_build_filename (g_get_user_config_dir (),
- "gtk-3.0", "bookmarks", NULL);
- else
- return g_build_filename (g_get_home_dir (),
- ".gtk-bookmarks", NULL);
-}
diff --git a/gnome-panel/libpanel-util/panel-gtk.h b/gnome-panel/libpanel-util/panel-gtk.h
index 3ef504504..ef88eb85c 100644
--- a/gnome-panel/libpanel-util/panel-gtk.h
+++ b/gnome-panel/libpanel-util/panel-gtk.h
@@ -30,7 +30,6 @@ G_BEGIN_DECLS
#define PANEL_GTK_BUILDER_GET(builder, name) GTK_WIDGET (gtk_builder_get_object (builder, name))
void panel_gtk_file_chooser_add_image_preview (GtkFileChooser *chooser);
-char *panel_gtk_get_bookmark_file (void);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]