diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:42 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:42 -0500 |
commit | a9d469b1b48a8446dc9b9fd987b6af83a60ed796 (patch) | |
tree | ecb2275a9576a783b51020cb8d914c8029a2a843 | |
parent | 11b8179a57e675c6672cbe649c655230ae3e9744 (diff) |
Import Upstream version 0.4.2.1.svn30042007
l--------- | arch/linux/alpha/battery.h | 1 | ||||
l--------- | arch/linux/ia64/battery.h | 1 | ||||
l--------- | arch/linux/s390/battery.h | 1 | ||||
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | shell.c | 1 | ||||
-rw-r--r-- | syncmanager.c | 4 | ||||
-rw-r--r-- | syncmanager.h | 1 |
7 files changed, 10 insertions, 3 deletions
diff --git a/arch/linux/alpha/battery.h b/arch/linux/alpha/battery.h new file mode 120000 index 00000000..ed7360e1 --- /dev/null +++ b/arch/linux/alpha/battery.h @@ -0,0 +1 @@ +../../../arch/linux/common/battery.h
\ No newline at end of file diff --git a/arch/linux/ia64/battery.h b/arch/linux/ia64/battery.h new file mode 120000 index 00000000..ed7360e1 --- /dev/null +++ b/arch/linux/ia64/battery.h @@ -0,0 +1 @@ +../../../arch/linux/common/battery.h
\ No newline at end of file diff --git a/arch/linux/s390/battery.h b/arch/linux/s390/battery.h new file mode 120000 index 00000000..ed7360e1 --- /dev/null +++ b/arch/linux/s390/battery.h @@ -0,0 +1 @@ +../../../arch/linux/common/battery.h
\ No newline at end of file @@ -154,8 +154,8 @@ for i in `which pkg-config`; do --atleast-version=$MIN_VERSION > /dev/null case $? in 0) - SOUP_FLAGS=`pkg-config libsoup-2.2 --cflags` - SOUP_LIBS=`pkg-config libsoup-2.2 --libs` + SOUP_FLAGS=`pkg-config libsoup-2.2 --cflags --static` + SOUP_LIBS=`pkg-config libsoup-2.2 --libs --static` echo "found `pkg-config libsoup-2.2 --modversion`" SOUP=1 break ;; @@ -520,7 +520,6 @@ static void add_modules_to_gui(gpointer data, gpointer user_data) } } - void shell_init(GSList * modules) { if (shell) { diff --git a/syncmanager.c b/syncmanager.c index 6602407a..7646990f 100644 --- a/syncmanager.c +++ b/syncmanager.c @@ -299,6 +299,10 @@ static void _action_call_function_got_response(SoupMessage *msg, gpointer user_d #endif g_free(filename); } + + if (sna->entry->callback) { + sna->entry->callback(sna->entry, string); + } g_free(string); g_main_quit(loop); diff --git a/syncmanager.h b/syncmanager.h index 9cd812d0..78ca2153 100644 --- a/syncmanager.h +++ b/syncmanager.h @@ -29,6 +29,7 @@ struct _SyncEntry { gchar *save_to; gchar *(*get_data)(void); + void (*callback)(SyncEntry *entry, const gchar *response); gboolean selected; }; |