[seahorse/gnome-3-10] common: Include correct headers for vala calling C code
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse/gnome-3-10] common: Include correct headers for vala calling C code
- Date: Thu, 20 Feb 2014 09:24:44 +0000 (UTC)
commit 577c4ba0fc84d904338280c0ead77177c9d94ea3
Author: Stef Walter <stefw gnome org>
Date: Thu Feb 20 09:41:54 2014 +0100
common: Include correct headers for vala calling C code
These caused crashes due to pointers being casted to int.
Due to the way vala code is generated, this fix may require
you to:
$ rm common/*.c
$ make clean all
https://bugzilla.gnome.org/show_bug.cgi?id=708996
common/config.vapi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/common/config.vapi b/common/config.vapi
index b814388..056021f 100644
--- a/common/config.vapi
+++ b/common/config.vapi
@@ -16,11 +16,13 @@ namespace Config
*/
namespace Seahorse {
+[CCode (cheader_filename = "libseahorse/seahorse-prefs.h")]
namespace Prefs {
public void show(Gtk.Window window, string? tabid);
public bool available();
}
+[CCode (cheader_filename = "libseahorse/seahorse-application.h")]
namespace Application {
public unowned Gtk.Application @get();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]