aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-10 05:23:51 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-10 05:23:51 +0800
commite642a6bed7b9292f1de7cdd1527baf2484b204a9 (patch)
treee5800f8457108488d92a1c486d4d5638701ed70b
parentf82a1cfd7d318c35cf9fb696d38d63c9d5a899d2 (diff)
downloadgsoc2013-empathy-e642a6bed7b9292f1de7cdd1527baf2484b204a9.tar.gz
gsoc2013-empathy-e642a6bed7b9292f1de7cdd1527baf2484b204a9.tar.zst
gsoc2013-empathy-e642a6bed7b9292f1de7cdd1527baf2484b204a9.zip
Update python binding to not add ephy symbols
svn path=/trunk/; revision=615
-rw-r--r--python/README2
-rw-r--r--python/pyempathygtk/pyempathygtk.defs44
-rw-r--r--python/pyempathygtk/pyempathygtk.override1
3 files changed, 2 insertions, 45 deletions
diff --git a/python/README b/python/README
index 127254381..29bb89d02 100644
--- a/python/README
+++ b/python/README
@@ -17,5 +17,7 @@ ContactManager, TpChatroom and TpContactList implements ContactList interface:
That can be done by applying pyempathy.patch
+remove all ephy stuff
+
3)
Manually update headers in pyempathy.override and pyempathygtk.override.
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index 2a375786a..f92a3eeb2 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -147,13 +147,6 @@
(gtype-id "EMPATHY_TYPE_THEME_MANAGER")
)
-(define-object Spinner
- (in-module "Ephy")
- (parent "GtkWidget")
- (c-name "EphySpinner")
- (gtype-id "EPHY_TYPE_SPINNER")
-)
-
;; Enumerations and flags ...
(define-enum ChatViewBlock
@@ -2091,40 +2084,3 @@
(varargs #t)
)
-
-
-;; From ephy-spinner.h
-
-(define-function ephy_spinner_get_type
- (c-name "ephy_spinner_get_type")
- (return-type "GType")
-)
-
-(define-function ephy_spinner_new
- (c-name "ephy_spinner_new")
- (is-constructor-of "EphySpinner")
- (return-type "GtkWidget*")
-)
-
-(define-method start
- (of-object "EphySpinner")
- (c-name "ephy_spinner_start")
- (return-type "none")
-)
-
-(define-method stop
- (of-object "EphySpinner")
- (c-name "ephy_spinner_stop")
- (return-type "none")
-)
-
-(define-method set_size
- (of-object "EphySpinner")
- (c-name "ephy_spinner_set_size")
- (return-type "none")
- (parameters
- '("GtkIconSize" "size")
- )
-)
-
-
diff --git a/python/pyempathygtk/pyempathygtk.override b/python/pyempathygtk/pyempathygtk.override
index 26eb10119..c7c59415b 100644
--- a/python/pyempathygtk/pyempathygtk.override
+++ b/python/pyempathygtk/pyempathygtk.override
@@ -40,7 +40,6 @@ headers
#include "empathy-theme-boxes.h"
#include "empathy-theme-irc.h"
#include "empathy-ui-utils.h"
-#include "ephy-spinner.h"
#include "empathy-smiley-manager.h"
#include "empathy-new-message-dialog.h"
#include "empathy-call-window.h"