aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-16 23:03:01 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-16 23:03:01 +0800
commit1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4 (patch)
treea29311816dfcb14dfb35b2e33396b421f8e7f55b
parent2e808e88af575ff8900e97f1aab841f9bb6c9c2f (diff)
downloadgsoc2013-epiphany-1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4.tar.gz
gsoc2013-epiphany-1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4.tar.zst
gsoc2013-epiphany-1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4.zip
Change epiphany.defs
svn path=/trunk/; revision=7694
-rw-r--r--src/epiphany.defs100
1 files changed, 53 insertions, 47 deletions
diff --git a/src/epiphany.defs b/src/epiphany.defs
index 4c497e707..a274b225f 100644
--- a/src/epiphany.defs
+++ b/src/epiphany.defs
@@ -520,7 +520,60 @@
(return-type "none")
)
+;; From ../../embed/ephy-embed-container.h
+(define-method add_child
+ (of-object "EphyEmbedContainer")
+ (c-name "ephy_embed_container_add_child")
+ (return-type "none")
+ (parameters
+ '("EphyEmbed*" "child")
+ '("gint" "position")
+ '("gboolean" "jump_to")
+ )
+)
+
+(define-method remove_child
+ (of-object "EphyEmbedContainer")
+ (c-name "ephy_embed_container_remove_child")
+ (return-type "none")
+ (parameters
+ '("EphyEmbed*" "child")
+ )
+)
+
+(define-method jump_to_child
+ (of-object "EphyEmbedContainer")
+ (c-name "ephy_embed_container_jump_to_child")
+ (return-type "none")
+ (parameters
+ '("EphyEmbed*" "child")
+ )
+)
+
+(define-method get_active_child
+ (of-object "EphyEmbedContainer")
+ (c-name "ephy_embed_container_get_active_child")
+ (return-type "EphyEmbed*")
+)
+
+(define-method get_childs
+ (of-object "EphyEmbedContainer")
+ (c-name "ephy_embed_container_get_childs")
+ (return-type "GList*")
+)
+
+(define-method get_is_popup
+ (of-object "EphyEmbedContainer")
+ (c-name "ephy_embed_container_get_is_popup")
+ (return-type "gboolean")
+)
+
+(define-method get_chrome
+ (of-object "EphyEmbedContainer")
+ (c-name "ephy_embed_container_get_chrome")
+ (return-type "EphyEmbedChrome")
+)
;; From ../../embed/ephy-embed-event.h
@@ -3484,35 +3537,6 @@
(return-type "GtkWidget*")
)
-(define-method add_tab
- (of-object "EphyWindow")
- (c-name "ephy_window_add_tab")
- (return-type "none")
- (parameters
- '("EphyEmbed*" "tab")
- '("gint" "position")
- '("gboolean" "jump_to")
- )
-)
-
-(define-method remove_tab
- (of-object "EphyWindow")
- (c-name "ephy_window_remove_tab")
- (return-type "none")
- (parameters
- '("EphyEmbed*" "tab")
- )
-)
-
-(define-method jump_to_tab
- (of-object "EphyWindow")
- (c-name "ephy_window_jump_to_tab")
- (return-type "none")
- (parameters
- '("EphyEmbed*" "tab")
- )
-)
-
(define-method load_url
(of-object "EphyWindow")
(c-name "ephy_window_load_url")
@@ -3537,24 +3561,6 @@
(return-type "none")
)
-(define-method get_active_tab
- (of-object "EphyWindow")
- (c-name "ephy_window_get_active_tab")
- (return-type "EphyEmbed*")
-)
-
-(define-method get_tabs
- (of-object "EphyWindow")
- (c-name "ephy_window_get_tabs")
- (return-type "GList*")
-)
-
-(define-method get_is_popup
- (of-object "EphyWindow")
- (c-name "ephy_window_get_is_popup")
- (return-type "gboolean")
-)
-
(define-method get_is_print_preview
(of-object "EphyWindow")
(c-name "ephy_window_get_is_print_preview")