diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-12-10 06:05:34 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-12-10 06:05:34 +0800 |
commit | 04d807546492d1dc26d75faf184e1face508a128 (patch) | |
tree | f74a67a26af47300c803ee1b84d2436a7da66261 /embed | |
parent | 98ca0fc609810f0024179654484f8428fa50d020 (diff) | |
download | gsoc2013-epiphany-04d807546492d1dc26d75faf184e1face508a128.tar gsoc2013-epiphany-04d807546492d1dc26d75faf184e1face508a128.tar.gz gsoc2013-epiphany-04d807546492d1dc26d75faf184e1face508a128.tar.bz2 gsoc2013-epiphany-04d807546492d1dc26d75faf184e1face508a128.tar.lz gsoc2013-epiphany-04d807546492d1dc26d75faf184e1face508a128.tar.xz gsoc2013-epiphany-04d807546492d1dc26d75faf184e1face508a128.tar.zst gsoc2013-epiphany-04d807546492d1dc26d75faf184e1face508a128.zip |
Rename cpp files to c in the WebKit backend; they are pure C.
Also fix a couple of compiler warnings.
svn path=/trunk/; revision=7764
Diffstat (limited to 'embed')
-rw-r--r-- | embed/webkit/Makefile.am | 8 | ||||
-rw-r--r-- | embed/webkit/webkit-embed-find.c (renamed from embed/webkit/webkit-embed-find.cpp) | 0 | ||||
-rw-r--r-- | embed/webkit/webkit-embed-persist.c (renamed from embed/webkit/webkit-embed-persist.cpp) | 2 | ||||
-rw-r--r-- | embed/webkit/webkit-embed-single.c (renamed from embed/webkit/webkit-embed-single.cpp) | 4 | ||||
-rw-r--r-- | embed/webkit/webkit-embed.c (renamed from embed/webkit/webkit-embed.cpp) | 0 |
5 files changed, 8 insertions, 6 deletions
diff --git a/embed/webkit/Makefile.am b/embed/webkit/Makefile.am index 41d6fb98a..afd50f5f3 100644 --- a/embed/webkit/Makefile.am +++ b/embed/webkit/Makefile.am @@ -1,13 +1,13 @@ noinst_LTLIBRARIES = libephywebkitembed.la libephywebkitembed_la_SOURCES = \ - webkit-embed.cpp \ + webkit-embed.c \ webkit-embed.h \ - webkit-embed-find.cpp \ + webkit-embed-find.c \ webkit-embed-find.h \ - webkit-embed-persist.cpp \ + webkit-embed-persist.c \ webkit-embed-persist.h \ - webkit-embed-single.cpp \ + webkit-embed-single.c \ webkit-embed-single.h libephywebkitembed_la_CPPFLAGS = \ diff --git a/embed/webkit/webkit-embed-find.cpp b/embed/webkit/webkit-embed-find.c index 4a9744d64..4a9744d64 100644 --- a/embed/webkit/webkit-embed-find.cpp +++ b/embed/webkit/webkit-embed-find.c diff --git a/embed/webkit/webkit-embed-persist.cpp b/embed/webkit/webkit-embed-persist.c index 1a08fa05d..254a10973 100644 --- a/embed/webkit/webkit-embed-persist.cpp +++ b/embed/webkit/webkit-embed-persist.c @@ -66,6 +66,8 @@ static gboolean impl_save (EphyEmbedPersist *persist) { g_object_ref (persist); + + return FALSE; } static char * diff --git a/embed/webkit/webkit-embed-single.cpp b/embed/webkit/webkit-embed-single.c index 521fad49d..44ad6816a 100644 --- a/embed/webkit/webkit-embed-single.cpp +++ b/embed/webkit/webkit-embed-single.c @@ -200,7 +200,7 @@ impl_permission_manager_clear (EphyPermissionManager *manager) { } -EphyPermission +static EphyPermission impl_permission_manager_test (EphyPermissionManager *manager, const char *host, const char *type) @@ -218,7 +218,7 @@ impl_init (EphyEmbedSingle *esingle) return TRUE; } -GList * +static GList * impl_permission_manager_list (EphyPermissionManager *manager, const char *type) { diff --git a/embed/webkit/webkit-embed.cpp b/embed/webkit/webkit-embed.c index c2187b29d..c2187b29d 100644 --- a/embed/webkit/webkit-embed.cpp +++ b/embed/webkit/webkit-embed.c |