[gthumb] facebook: remove importer
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] facebook: remove importer
- Date: Fri, 27 Oct 2017 10:41:41 +0000 (UTC)
commit bbf8359e24ccc5ffda2ee32689eadee3d0f9a890
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Oct 27 10:52:43 2017 +0200
facebook: remove importer
no longer supported by the facebook api
extensions/facebook/Makefile.am | 2 -
extensions/facebook/actions.c | 10 -
extensions/facebook/callbacks.c | 7 -
extensions/facebook/dlg-import-from-facebook.c | 621 ------------------------
extensions/facebook/dlg-import-from-facebook.h | 29 --
5 files changed, 0 insertions(+), 669 deletions(-)
---
diff --git a/extensions/facebook/Makefile.am b/extensions/facebook/Makefile.am
index 5ae7da8..3531bac 100644
--- a/extensions/facebook/Makefile.am
+++ b/extensions/facebook/Makefile.am
@@ -12,8 +12,6 @@ libfacebook_la_SOURCES = \
callbacks.h \
dlg-export-to-facebook.c \
dlg-export-to-facebook.h \
- dlg-import-from-facebook.c \
- dlg-import-from-facebook.h \
facebook-album.c \
facebook-album.h \
facebook-album-properties-dialog.c \
diff --git a/extensions/facebook/actions.c b/extensions/facebook/actions.c
index dfff6b4..a9cc446 100644
--- a/extensions/facebook/actions.c
+++ b/extensions/facebook/actions.c
@@ -25,7 +25,6 @@
#include <gthumb.h>
#include "actions.h"
#include "dlg-export-to-facebook.h"
-#include "dlg-import-from-facebook.h"
void
@@ -46,12 +45,3 @@ gth_browser_activate_export_facebook (GSimpleAction *action,
_g_object_list_unref (file_list);
_gtk_tree_path_list_free (items);
}
-
-
-void
-gth_browser_activate_import_facebook (GSimpleAction *action,
- GVariant *parameter,
- gpointer user_data)
-{
- dlg_import_from_facebook (GTH_BROWSER (user_data));
-}
diff --git a/extensions/facebook/callbacks.c b/extensions/facebook/callbacks.c
index 6877e0e..1b7ff7f 100644
--- a/extensions/facebook/callbacks.c
+++ b/extensions/facebook/callbacks.c
@@ -32,7 +32,6 @@
static const GActionEntry actions[] = {
{ "export-facebook", gth_browser_activate_export_facebook },
- { "import-facebook", gth_browser_activate_import_facebook }
};
@@ -51,10 +50,4 @@ fb__gth_browser_construct_cb (GthBrowser *browser)
"win.export-facebook",
NULL,
"site-facebook");
- gth_menu_manager_append_entry (gth_browser_get_menu_manager (browser,
GTH_BROWSER_MENU_MANAGER_WEB_IMPORTERS),
- GTH_MENU_MANAGER_NEW_MERGE_ID,
- "Facebook…",
- "win.import-facebook",
- NULL,
- "site-facebook");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]