]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Use empathy.foo() instead of empathy_foo() for functions binding
[empathy.git] / python / pyempathygtk / pyempathygtk.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object AccountChooser
4   (in-module "Empathy")
5   (parent "GtkComboBox")
6   (c-name "EmpathyAccountChooser")
7   (gtype-id "EMPATHY_TYPE_ACCOUNT_CHOOSER")
8 )
9
10 (define-object AvatarChooser
11   (in-module "Empathy")
12   (parent "GtkButton")
13   (c-name "EmpathyAvatarChooser")
14   (gtype-id "EMPATHY_TYPE_AVATAR_CHOOSER")
15 )
16
17 (define-object AvatarImage
18   (in-module "Empathy")
19   (parent "GtkEventBox")
20   (c-name "EmpathyAvatarImage")
21   (gtype-id "EMPATHY_TYPE_AVATAR_IMAGE")
22 )
23
24 (define-object CellRendererActivatable
25   (in-module "Empathy")
26   (parent "GtkCellRendererPixbuf")
27   (c-name "EmpathyCellRendererActivatable")
28   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE")
29 )
30
31 (define-object CellRendererExpander
32   (in-module "Empathy")
33   (parent "GtkCellRenderer")
34   (c-name "EmpathyCellRendererExpander")
35   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
36 )
37
38 (define-object CellRendererText
39   (in-module "Empathy")
40   (parent "GtkCellRendererText")
41   (c-name "EmpathyCellRendererText")
42   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
43 )
44
45 (define-object Chat
46   (in-module "Empathy")
47   (parent "GtkBin")
48   (c-name "EmpathyChat")
49   (gtype-id "EMPATHY_TYPE_CHAT")
50 )
51
52 (define-object ChatView
53   (in-module "Empathy")
54   (parent "GtkTextView")
55   (c-name "EmpathyChatView")
56   (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
57 )
58
59 (define-object Conf
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyConf")
63   (gtype-id "EMPATHY_TYPE_CONF")
64 )
65
66 (define-object ContactListStore
67   (in-module "Empathy")
68   (parent "GtkTreeStore")
69   (c-name "EmpathyContactListStore")
70   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
71 )
72
73 (define-object ContactListView
74   (in-module "Empathy")
75   (parent "GtkTreeView")
76   (c-name "EmpathyContactListView")
77   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
78 )
79
80 (define-object PresenceChooser
81   (in-module "Empathy")
82   (parent "GtkToggleButton")
83   (c-name "EmpathyPresenceChooser")
84   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
85 )
86
87 (define-object SmileyManager
88   (in-module "Empathy")
89   (parent "GObject")
90   (c-name "EmpathySmileyManager")
91   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
92 )
93
94 (define-object Theme
95   (in-module "Empathy")
96   (parent "GObject")
97   (c-name "EmpathyTheme")
98   (gtype-id "EMPATHY_TYPE_THEME")
99 )
100
101 (define-object ThemeBoxes
102   (in-module "Empathy")
103   (parent "EmpathyTheme")
104   (c-name "EmpathyThemeBoxes")
105   (gtype-id "EMPATHY_TYPE_THEME_BOXES")
106 )
107
108 (define-object ThemeIrc
109   (in-module "Empathy")
110   (parent "EmpathyTheme")
111   (c-name "EmpathyThemeIrc")
112   (gtype-id "EMPATHY_TYPE_THEME_IRC")
113 )
114
115 (define-object ThemeManager
116   (in-module "Empathy")
117   (parent "GObject")
118   (c-name "EmpathyThemeManager")
119   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
120 )
121
122 ;; Enumerations and flags ...
123
124 (define-enum ContactListStoreSort
125   (in-module "Empathy")
126   (c-name "EmpathyContactListStoreSort")
127   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
128   (values
129     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
130     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
131   )
132 )
133
134 (define-enum ContactListStoreCol
135   (in-module "Empathy")
136   (c-name "EmpathyContactListStoreCol")
137   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
138   (values
139     '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
140     '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
141     '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
142     '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
143     '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
144     '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
145     '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
146     '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
147     '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
148     '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
149     '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
150     '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
151     '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
152   )
153 )
154
155 (define-flags ContactListFeatureFlags
156   (in-module "Empathy")
157   (c-name "EmpathyContactListFeatureFlags")
158   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
159   (values
160     '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
161     '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
162     '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
163     '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
164     '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
165     '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
166     '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
167     '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
168     '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
169   )
170 )
171
172 (define-flags ContactWidgetFlags
173   (in-module "Empathy")
174   (c-name "EmpathyContactWidgetFlags")
175   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
176   (values
177     '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
178     '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
179     '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
180     '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
181     '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
182     '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
183   )
184 )
185
186 (define-flags ContactFeatureFlags
187   (in-module "Empathy")
188   (c-name "EmpathyContactFeatureFlags")
189   (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
190   (values
191     '("none" "EMPATHY_CONTACT_FEATURE_NONE")
192     '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
193     '("call" "EMPATHY_CONTACT_FEATURE_CALL")
194     '("log" "EMPATHY_CONTACT_FEATURE_LOG")
195     '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
196     '("info" "EMPATHY_CONTACT_FEATURE_INFO")
197     '("all" "EMPATHY_CONTACT_FEATURE_ALL")
198   )
199 )
200
201
202 ;; From empathy-images.h
203
204
205
206 ;; From empathy-account-chooser.h
207
208 (define-function account_chooser_get_type
209   (c-name "empathy_account_chooser_get_type")
210   (return-type "GType")
211 )
212
213 (define-function account_chooser_new
214   (c-name "empathy_account_chooser_new")
215   (is-constructor-of "EmpathyAccountChooser")
216   (return-type "GtkWidget*")
217 )
218
219 (define-method get_account
220   (of-object "EmpathyAccountChooser")
221   (c-name "empathy_account_chooser_get_account")
222   (return-type "McAccount*")
223 )
224
225 (define-method set_account
226   (of-object "EmpathyAccountChooser")
227   (c-name "empathy_account_chooser_set_account")
228   (return-type "gboolean")
229   (parameters
230     '("McAccount*" "account")
231   )
232 )
233
234 (define-method get_has_all_option
235   (of-object "EmpathyAccountChooser")
236   (c-name "empathy_account_chooser_get_has_all_option")
237   (return-type "gboolean")
238 )
239
240 (define-method set_has_all_option
241   (of-object "EmpathyAccountChooser")
242   (c-name "empathy_account_chooser_set_has_all_option")
243   (return-type "none")
244   (parameters
245     '("gboolean" "has_all_option")
246   )
247 )
248
249 (define-method set_filter
250   (of-object "EmpathyAccountChooser")
251   (c-name "empathy_account_chooser_set_filter")
252   (return-type "none")
253   (parameters
254     '("EmpathyAccountChooserFilterFunc" "filter")
255     '("gpointer" "user_data")
256   )
257 )
258
259 (define-function account_chooser_filter_is_connected
260   (c-name "empathy_account_chooser_filter_is_connected")
261   (return-type "gboolean")
262   (parameters
263     '("McAccount*" "account")
264     '("gpointer" "user_data")
265   )
266 )
267
268
269
270 ;; From empathy-chat.h
271
272 (define-function chat_get_type
273   (c-name "empathy_chat_get_type")
274   (return-type "GType")
275 )
276
277 (define-function chat_new
278   (c-name "empathy_chat_new")
279   (is-constructor-of "EmpathyChat")
280   (return-type "EmpathyChat*")
281   (parameters
282     '("EmpathyTpChat*" "tp_chat")
283   )
284 )
285
286 (define-method get_tp_chat
287   (of-object "EmpathyChat")
288   (c-name "empathy_chat_get_tp_chat")
289   (return-type "EmpathyTpChat*")
290 )
291
292 (define-method set_tp_chat
293   (of-object "EmpathyChat")
294   (c-name "empathy_chat_set_tp_chat")
295   (return-type "none")
296   (parameters
297     '("EmpathyTpChat*" "tp_chat")
298   )
299 )
300
301 (define-method get_account
302   (of-object "EmpathyChat")
303   (c-name "empathy_chat_get_account")
304   (return-type "McAccount*")
305 )
306
307 (define-method get_id
308   (of-object "EmpathyChat")
309   (c-name "empathy_chat_get_id")
310   (return-type "const-gchar*")
311 )
312
313 (define-method get_name
314   (of-object "EmpathyChat")
315   (c-name "empathy_chat_get_name")
316   (return-type "const-gchar*")
317 )
318
319 (define-method get_subject
320   (of-object "EmpathyChat")
321   (c-name "empathy_chat_get_subject")
322   (return-type "const-gchar*")
323 )
324
325 (define-method get_remote_contact
326   (of-object "EmpathyChat")
327   (c-name "empathy_chat_get_remote_contact")
328   (return-type "EmpathyContact*")
329 )
330
331 (define-method get_members_count
332   (of-object "EmpathyChat")
333   (c-name "empathy_chat_get_members_count")
334   (return-type "guint")
335 )
336
337 (define-method get_contact_menu
338   (of-object "EmpathyChat")
339   (c-name "empathy_chat_get_contact_menu")
340   (return-type "GtkWidget*")
341 )
342
343 (define-method clear
344   (of-object "EmpathyChat")
345   (c-name "empathy_chat_clear")
346   (return-type "none")
347 )
348
349 (define-method scroll_down
350   (of-object "EmpathyChat")
351   (c-name "empathy_chat_scroll_down")
352   (return-type "none")
353 )
354
355 (define-method cut
356   (of-object "EmpathyChat")
357   (c-name "empathy_chat_cut")
358   (return-type "none")
359 )
360
361 (define-method copy
362   (of-object "EmpathyChat")
363   (c-name "empathy_chat_copy")
364   (return-type "none")
365 )
366
367 (define-method paste
368   (of-object "EmpathyChat")
369   (c-name "empathy_chat_paste")
370   (return-type "none")
371 )
372
373 (define-method correct_word
374   (of-object "EmpathyChat")
375   (c-name "empathy_chat_correct_word")
376   (return-type "none")
377   (parameters
378     '("GtkTextIter*" "start")
379     '("GtkTextIter*" "end")
380     '("const-gchar*" "new_word")
381   )
382 )
383
384
385
386 ;; From empathy-irc-network-dialog.h
387
388 (define-method dialog_show
389   (of-object "EmpathyIrcNetwork")
390   (c-name "empathy_irc_network_dialog_show")
391   (return-type "GtkWidget*")
392   (parameters
393     '("GtkWidget*" "parent")
394   )
395 )
396
397
398
399 ;; From empathy-spell-dialog.h
400
401 (define-function spell_dialog_show
402   (c-name "empathy_spell_dialog_show")
403   (return-type "none")
404   (parameters
405     '("EmpathyChat*" "chat")
406     '("GtkTextIter*" "start")
407     '("GtkTextIter*" "end")
408     '("const-gchar*" "word")
409   )
410 )
411
412
413
414 ;; From empathy-accounts-dialog.h
415
416 (define-function accounts_dialog_show
417   (c-name "empathy_accounts_dialog_show")
418   (return-type "GtkWidget*")
419   (parameters
420     '("GtkWindow*" "parent")
421   )
422 )
423
424
425
426 ;; From empathy-chat-view.h
427
428 (define-function chat_view_get_type
429   (c-name "empathy_chat_view_get_type")
430   (return-type "GType")
431 )
432
433 (define-function chat_view_new
434   (c-name "empathy_chat_view_new")
435   (is-constructor-of "EmpathyChatView")
436   (return-type "EmpathyChatView*")
437 )
438
439 (define-method append_message
440   (of-object "EmpathyChatView")
441   (c-name "empathy_chat_view_append_message")
442   (return-type "none")
443   (parameters
444     '("EmpathyMessage*" "msg")
445   )
446 )
447
448 (define-method append_event
449   (of-object "EmpathyChatView")
450   (c-name "empathy_chat_view_append_event")
451   (return-type "none")
452   (parameters
453     '("const-gchar*" "str")
454   )
455 )
456
457 (define-method append_button
458   (of-object "EmpathyChatView")
459   (c-name "empathy_chat_view_append_button")
460   (return-type "none")
461   (parameters
462     '("const-gchar*" "message")
463     '("GtkWidget*" "button1")
464     '("GtkWidget*" "button2")
465   )
466 )
467
468 (define-method scroll
469   (of-object "EmpathyChatView")
470   (c-name "empathy_chat_view_scroll")
471   (return-type "none")
472   (parameters
473     '("gboolean" "allow_scrolling")
474   )
475 )
476
477 (define-method scroll_down
478   (of-object "EmpathyChatView")
479   (c-name "empathy_chat_view_scroll_down")
480   (return-type "none")
481 )
482
483 (define-method get_selection_bounds
484   (of-object "EmpathyChatView")
485   (c-name "empathy_chat_view_get_selection_bounds")
486   (return-type "gboolean")
487   (parameters
488     '("GtkTextIter*" "start")
489     '("GtkTextIter*" "end")
490   )
491 )
492
493 (define-method clear
494   (of-object "EmpathyChatView")
495   (c-name "empathy_chat_view_clear")
496   (return-type "none")
497 )
498
499 (define-method find_previous
500   (of-object "EmpathyChatView")
501   (c-name "empathy_chat_view_find_previous")
502   (return-type "gboolean")
503   (parameters
504     '("const-gchar*" "search_criteria")
505     '("gboolean" "new_search")
506   )
507 )
508
509 (define-method find_next
510   (of-object "EmpathyChatView")
511   (c-name "empathy_chat_view_find_next")
512   (return-type "gboolean")
513   (parameters
514     '("const-gchar*" "search_criteria")
515     '("gboolean" "new_search")
516   )
517 )
518
519 (define-method find_abilities
520   (of-object "EmpathyChatView")
521   (c-name "empathy_chat_view_find_abilities")
522   (return-type "none")
523   (parameters
524     '("const-gchar*" "search_criteria")
525     '("gboolean*" "can_do_previous")
526     '("gboolean*" "can_do_next")
527   )
528 )
529
530 (define-method highlight
531   (of-object "EmpathyChatView")
532   (c-name "empathy_chat_view_highlight")
533   (return-type "none")
534   (parameters
535     '("const-gchar*" "text")
536   )
537 )
538
539 (define-method copy_clipboard
540   (of-object "EmpathyChatView")
541   (c-name "empathy_chat_view_copy_clipboard")
542   (return-type "none")
543 )
544
545 (define-method get_theme
546   (of-object "EmpathyChatView")
547   (c-name "empathy_chat_view_get_theme")
548   (return-type "EmpathyTheme*")
549 )
550
551 (define-method set_theme
552   (of-object "EmpathyChatView")
553   (c-name "empathy_chat_view_set_theme")
554   (return-type "none")
555   (parameters
556     '("EmpathyTheme*" "theme")
557   )
558 )
559
560 (define-method set_margin
561   (of-object "EmpathyChatView")
562   (c-name "empathy_chat_view_set_margin")
563   (return-type "none")
564   (parameters
565     '("gint" "margin")
566   )
567 )
568
569 (define-function chat_view_get_smiley_menu
570   (c-name "empathy_chat_view_get_smiley_menu")
571   (return-type "GtkWidget*")
572   (parameters
573     '("GCallback" "callback")
574     '("gpointer" "user_data")
575   )
576 )
577
578 (define-method get_last_timestamp
579   (of-object "EmpathyChatView")
580   (c-name "empathy_chat_view_get_last_timestamp")
581   (return-type "time_t")
582 )
583
584 (define-method set_last_timestamp
585   (of-object "EmpathyChatView")
586   (c-name "empathy_chat_view_set_last_timestamp")
587   (return-type "none")
588   (parameters
589     '("time_t" "timestamp")
590   )
591 )
592
593 (define-method get_last_contact
594   (of-object "EmpathyChatView")
595   (c-name "empathy_chat_view_get_last_contact")
596   (return-type "EmpathyContact*")
597 )
598
599 (define-function chat_view_get_avatar_pixbuf_with_cache
600   (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
601   (return-type "GdkPixbuf*")
602   (parameters
603     '("EmpathyContact*" "contact")
604   )
605 )
606
607
608
609 ;; From empathy-log-window.h
610
611 (define-function log_window_show
612   (c-name "empathy_log_window_show")
613   (return-type "GtkWidget*")
614   (parameters
615     '("McAccount*" "account")
616     '("const-gchar*" "chat_id")
617     '("gboolean" "chatroom")
618     '("GtkWindow*" "parent")
619   )
620 )
621
622
623
624 ;; From empathy-theme-boxes.h
625
626 (define-function theme_boxes_get_type
627   (c-name "empathy_theme_boxes_get_type")
628   (return-type "GType")
629 )
630
631
632
633 ;; From empathy-account-widget.h
634
635 (define-function account_widget_handle_params
636   (c-name "empathy_account_widget_handle_params")
637   (return-type "none")
638   (parameters
639     '("McAccount*" "account")
640     '("GladeXML*" "glade")
641     '("const-gchar*" "first_widget_name")
642   )
643   (varargs #t)
644 )
645
646 (define-function account_widget_add_forget_button
647   (c-name "empathy_account_widget_add_forget_button")
648   (return-type "none")
649   (parameters
650     '("McAccount*" "account")
651     '("GladeXML*" "glade")
652     '("const-gchar*" "button")
653     '("const-gchar*" "entry")
654   )
655 )
656
657 (define-function account_widget_generic_new
658   (c-name "empathy_account_widget_generic_new")
659   (is-constructor-of "EmpathyAccountWidgetGeneric")
660   (return-type "GtkWidget*")
661   (parameters
662     '("McAccount*" "account")
663   )
664 )
665
666 (define-function account_widget_salut_new
667   (c-name "empathy_account_widget_salut_new")
668   (is-constructor-of "EmpathyAccountWidgetSalut")
669   (return-type "GtkWidget*")
670   (parameters
671     '("McAccount*" "account")
672   )
673 )
674
675 (define-function account_widget_msn_new
676   (c-name "empathy_account_widget_msn_new")
677   (is-constructor-of "EmpathyAccountWidgetMsn")
678   (return-type "GtkWidget*")
679   (parameters
680     '("McAccount*" "account")
681   )
682 )
683
684 (define-function account_widget_jabber_new
685   (c-name "empathy_account_widget_jabber_new")
686   (is-constructor-of "EmpathyAccountWidgetJabber")
687   (return-type "GtkWidget*")
688   (parameters
689     '("McAccount*" "account")
690   )
691 )
692
693 (define-function account_widget_icq_new
694   (c-name "empathy_account_widget_icq_new")
695   (is-constructor-of "EmpathyAccountWidgetIcq")
696   (return-type "GtkWidget*")
697   (parameters
698     '("McAccount*" "account")
699   )
700 )
701
702 (define-function account_widget_aim_new
703   (c-name "empathy_account_widget_aim_new")
704   (is-constructor-of "EmpathyAccountWidgetAim")
705   (return-type "GtkWidget*")
706   (parameters
707     '("McAccount*" "account")
708   )
709 )
710
711 (define-function account_widget_yahoo_new
712   (c-name "empathy_account_widget_yahoo_new")
713   (is-constructor-of "EmpathyAccountWidgetYahoo")
714   (return-type "GtkWidget*")
715   (parameters
716     '("McAccount*" "account")
717   )
718 )
719
720 (define-function account_widget_groupwise_new
721   (c-name "empathy_account_widget_groupwise_new")
722   (is-constructor-of "EmpathyAccountWidgetGroupwise")
723   (return-type "GtkWidget*")
724   (parameters
725     '("McAccount*" "account")
726   )
727 )
728
729
730
731 ;; From empathy-conf.h
732
733 (define-function conf_get_type
734   (c-name "empathy_conf_get_type")
735   (return-type "GType")
736 )
737
738 (define-function conf_get
739   (c-name "empathy_conf_get")
740   (return-type "EmpathyConf*")
741 )
742
743 (define-function conf_shutdown
744   (c-name "empathy_conf_shutdown")
745   (return-type "none")
746 )
747
748 (define-method notify_add
749   (of-object "EmpathyConf")
750   (c-name "empathy_conf_notify_add")
751   (return-type "guint")
752   (parameters
753     '("const-gchar*" "key")
754     '("EmpathyConfNotifyFunc" "func")
755     '("gpointer" "data")
756   )
757 )
758
759 (define-method notify_remove
760   (of-object "EmpathyConf")
761   (c-name "empathy_conf_notify_remove")
762   (return-type "gboolean")
763   (parameters
764     '("guint" "id")
765   )
766 )
767
768 (define-method set_int
769   (of-object "EmpathyConf")
770   (c-name "empathy_conf_set_int")
771   (return-type "gboolean")
772   (parameters
773     '("const-gchar*" "key")
774     '("gint" "value")
775   )
776 )
777
778 (define-method get_int
779   (of-object "EmpathyConf")
780   (c-name "empathy_conf_get_int")
781   (return-type "gboolean")
782   (parameters
783     '("const-gchar*" "key")
784     '("gint*" "value")
785   )
786 )
787
788 (define-method set_bool
789   (of-object "EmpathyConf")
790   (c-name "empathy_conf_set_bool")
791   (return-type "gboolean")
792   (parameters
793     '("const-gchar*" "key")
794     '("gboolean" "value")
795   )
796 )
797
798 (define-method get_bool
799   (of-object "EmpathyConf")
800   (c-name "empathy_conf_get_bool")
801   (return-type "gboolean")
802   (parameters
803     '("const-gchar*" "key")
804     '("gboolean*" "value")
805   )
806 )
807
808 (define-method set_string
809   (of-object "EmpathyConf")
810   (c-name "empathy_conf_set_string")
811   (return-type "gboolean")
812   (parameters
813     '("const-gchar*" "key")
814     '("const-gchar*" "value")
815   )
816 )
817
818 (define-method get_string
819   (of-object "EmpathyConf")
820   (c-name "empathy_conf_get_string")
821   (return-type "gboolean")
822   (parameters
823     '("const-gchar*" "key")
824     '("gchar**" "value")
825   )
826 )
827
828 (define-method set_string_list
829   (of-object "EmpathyConf")
830   (c-name "empathy_conf_set_string_list")
831   (return-type "gboolean")
832   (parameters
833     '("const-gchar*" "key")
834     '("GSList*" "value")
835   )
836 )
837
838 (define-method get_string_list
839   (of-object "EmpathyConf")
840   (c-name "empathy_conf_get_string_list")
841   (return-type "gboolean")
842   (parameters
843     '("const-gchar*" "key")
844     '("GSList**" "value")
845   )
846 )
847
848
849
850 ;; From empathy-theme.h
851
852 (define-function theme_get_type
853   (c-name "empathy_theme_get_type")
854   (return-type "GType")
855 )
856
857 (define-method update_view
858   (of-object "EmpathyTheme")
859   (c-name "empathy_theme_update_view")
860   (return-type "none")
861   (parameters
862     '("EmpathyChatView*" "view")
863   )
864 )
865
866 (define-method append_message
867   (of-object "EmpathyTheme")
868   (c-name "empathy_theme_append_message")
869   (return-type "none")
870   (parameters
871     '("EmpathyChatView*" "view")
872     '("EmpathyMessage*" "msg")
873   )
874 )
875
876 (define-method append_text
877   (of-object "EmpathyTheme")
878   (c-name "empathy_theme_append_text")
879   (return-type "none")
880   (parameters
881     '("EmpathyChatView*" "view")
882     '("const-gchar*" "body")
883     '("const-gchar*" "tag")
884     '("const-gchar*" "link_tag")
885   )
886 )
887
888 (define-method append_spacing
889   (of-object "EmpathyTheme")
890   (c-name "empathy_theme_append_spacing")
891   (return-type "none")
892   (parameters
893     '("EmpathyChatView*" "view")
894   )
895 )
896
897 (define-method append_event
898   (of-object "EmpathyTheme")
899   (c-name "empathy_theme_append_event")
900   (return-type "none")
901   (parameters
902     '("EmpathyChatView*" "view")
903     '("const-gchar*" "str")
904   )
905 )
906
907 (define-method append_timestamp
908   (of-object "EmpathyTheme")
909   (c-name "empathy_theme_append_timestamp")
910   (return-type "none")
911   (parameters
912     '("EmpathyChatView*" "view")
913     '("EmpathyMessage*" "message")
914     '("gboolean" "show_date")
915     '("gboolean" "show_time")
916   )
917 )
918
919 (define-method maybe_append_date_and_time
920   (of-object "EmpathyTheme")
921   (c-name "empathy_theme_maybe_append_date_and_time")
922   (return-type "none")
923   (parameters
924     '("EmpathyChatView*" "view")
925     '("EmpathyMessage*" "message")
926   )
927 )
928
929 (define-method get_show_avatars
930   (of-object "EmpathyTheme")
931   (c-name "empathy_theme_get_show_avatars")
932   (return-type "gboolean")
933 )
934
935 (define-method set_show_avatars
936   (of-object "EmpathyTheme")
937   (c-name "empathy_theme_set_show_avatars")
938   (return-type "none")
939   (parameters
940     '("gboolean" "show")
941   )
942 )
943
944
945
946 ;; From empathy-account-widget-irc.h
947
948 (define-function account_widget_irc_new
949   (c-name "empathy_account_widget_irc_new")
950   (is-constructor-of "EmpathyAccountWidgetIrc")
951   (return-type "GtkWidget*")
952   (parameters
953     '("McAccount*" "account")
954   )
955 )
956
957
958
959 ;; From empathy-account-widget-sip.h
960
961 (define-function account_widget_sip_new
962   (c-name "empathy_account_widget_sip_new")
963   (is-constructor-of "EmpathyAccountWidgetSip")
964   (return-type "GtkWidget*")
965   (parameters
966     '("McAccount*" "account")
967   )
968 )
969
970
971
972 ;; From empathy-contact-dialogs.h
973
974 (define-function subscription_dialog_show
975   (c-name "empathy_subscription_dialog_show")
976   (return-type "none")
977   (parameters
978     '("EmpathyContact*" "contact")
979     '("GtkWindow*" "parent")
980   )
981 )
982
983 (define-method information_dialog_show
984   (of-object "EmpathyContact")
985   (c-name "empathy_contact_information_dialog_show")
986   (return-type "none")
987   (parameters
988     '("GtkWindow*" "parent")
989     '("gboolean" "edit")
990     '("gboolean" "is_user")
991   )
992 )
993
994 (define-function new_contact_dialog_show
995   (c-name "empathy_new_contact_dialog_show")
996   (return-type "none")
997   (parameters
998     '("GtkWindow*" "parent")
999   )
1000 )
1001
1002
1003
1004 ;; From empathy-new-message-dialog.h
1005
1006 (define-function new_message_dialog_show
1007   (c-name "empathy_new_message_dialog_show")
1008   (return-type "GtkWidget*")
1009   (parameters
1010     '("GtkWindow*" "parent")
1011   )
1012 )
1013
1014
1015
1016 ;; From empathy-theme-irc.h
1017
1018 (define-function theme_irc_get_type
1019   (c-name "empathy_theme_irc_get_type")
1020   (return-type "GType")
1021 )
1022
1023
1024
1025 ;; From empathy-avatar-chooser.h
1026
1027 (define-function avatar_chooser_get_type
1028   (c-name "empathy_avatar_chooser_get_type")
1029   (return-type "GType")
1030 )
1031
1032 (define-function avatar_chooser_new
1033   (c-name "empathy_avatar_chooser_new")
1034   (is-constructor-of "EmpathyAvatarChooser")
1035   (return-type "GtkWidget*")
1036 )
1037
1038 (define-method set
1039   (of-object "EmpathyAvatarChooser")
1040   (c-name "empathy_avatar_chooser_set")
1041   (return-type "none")
1042   (parameters
1043     '("EmpathyAvatar*" "avatar")
1044   )
1045 )
1046
1047 (define-method get_image_data
1048   (of-object "EmpathyAvatarChooser")
1049   (c-name "empathy_avatar_chooser_get_image_data")
1050   (return-type "none")
1051   (parameters
1052     '("const-gchar**" "data")
1053     '("gsize*" "data_size")
1054     '("const-gchar**" "mime_type")
1055   )
1056 )
1057
1058
1059
1060 ;; From empathy-contact-list-store.h
1061
1062 (define-function contact_list_store_get_type
1063   (c-name "empathy_contact_list_store_get_type")
1064   (return-type "GType")
1065 )
1066
1067 (define-function empathy_contact_list_store_new
1068   (is-constructor-of "EmpathyContactListStore")
1069   (c-name "empathy_contact_list_store_new")
1070   (return-type "EmpathyContactListStore*")
1071   (parameters
1072     '("EmpathyContactList*" "list_iface")
1073   )
1074 )
1075
1076 (define-method get_list_iface
1077   (of-object "EmpathyContactListStore")
1078   (c-name "empathy_contact_list_store_get_list_iface")
1079   (return-type "EmpathyContactList*")
1080 )
1081
1082 (define-method get_show_offline
1083   (of-object "EmpathyContactListStore")
1084   (c-name "empathy_contact_list_store_get_show_offline")
1085   (return-type "gboolean")
1086 )
1087
1088 (define-method set_show_offline
1089   (of-object "EmpathyContactListStore")
1090   (c-name "empathy_contact_list_store_set_show_offline")
1091   (return-type "none")
1092   (parameters
1093     '("gboolean" "show_offline")
1094   )
1095 )
1096
1097 (define-method get_show_avatars
1098   (of-object "EmpathyContactListStore")
1099   (c-name "empathy_contact_list_store_get_show_avatars")
1100   (return-type "gboolean")
1101 )
1102
1103 (define-method set_show_avatars
1104   (of-object "EmpathyContactListStore")
1105   (c-name "empathy_contact_list_store_set_show_avatars")
1106   (return-type "none")
1107   (parameters
1108     '("gboolean" "show_avatars")
1109   )
1110 )
1111
1112 (define-method get_show_groups
1113   (of-object "EmpathyContactListStore")
1114   (c-name "empathy_contact_list_store_get_show_groups")
1115   (return-type "gboolean")
1116 )
1117
1118 (define-method set_show_groups
1119   (of-object "EmpathyContactListStore")
1120   (c-name "empathy_contact_list_store_set_show_groups")
1121   (return-type "none")
1122   (parameters
1123     '("gboolean" "show_groups")
1124   )
1125 )
1126
1127 (define-method get_is_compact
1128   (of-object "EmpathyContactListStore")
1129   (c-name "empathy_contact_list_store_get_is_compact")
1130   (return-type "gboolean")
1131 )
1132
1133 (define-method set_is_compact
1134   (of-object "EmpathyContactListStore")
1135   (c-name "empathy_contact_list_store_set_is_compact")
1136   (return-type "none")
1137   (parameters
1138     '("gboolean" "is_compact")
1139   )
1140 )
1141
1142 (define-method get_sort_criterium
1143   (of-object "EmpathyContactListStore")
1144   (c-name "empathy_contact_list_store_get_sort_criterium")
1145   (return-type "EmpathyContactListStoreSort")
1146 )
1147
1148 (define-method set_sort_criterium
1149   (of-object "EmpathyContactListStore")
1150   (c-name "empathy_contact_list_store_set_sort_criterium")
1151   (return-type "none")
1152   (parameters
1153     '("EmpathyContactListStoreSort" "sort_criterium")
1154   )
1155 )
1156
1157 (define-function contact_list_store_row_separator_func
1158   (c-name "empathy_contact_list_store_row_separator_func")
1159   (return-type "gboolean")
1160   (parameters
1161     '("GtkTreeModel*" "model")
1162     '("GtkTreeIter*" "iter")
1163     '("gpointer" "data")
1164   )
1165 )
1166
1167 (define-function contact_list_store_get_parent_group
1168   (c-name "empathy_contact_list_store_get_parent_group")
1169   (return-type "gchar*")
1170   (parameters
1171     '("GtkTreeModel*" "model")
1172     '("GtkTreePath*" "path")
1173     '("gboolean*" "path_is_group")
1174   )
1175 )
1176
1177 (define-function contact_list_store_search_equal_func
1178   (c-name "empathy_contact_list_store_search_equal_func")
1179   (return-type "gboolean")
1180   (parameters
1181     '("GtkTreeModel*" "model")
1182     '("gint" "column")
1183     '("const-gchar*" "key")
1184     '("GtkTreeIter*" "iter")
1185     '("gpointer" "search_data")
1186   )
1187 )
1188
1189
1190
1191 ;; From empathy-presence-chooser.h
1192
1193 (define-function presence_chooser_get_type
1194   (c-name "empathy_presence_chooser_get_type")
1195   (return-type "GType")
1196 )
1197
1198 (define-function presence_chooser_new
1199   (c-name "empathy_presence_chooser_new")
1200   (is-constructor-of "EmpathyPresenceChooser")
1201   (return-type "GtkWidget*")
1202 )
1203
1204 (define-function presence_chooser_create_menu
1205   (c-name "empathy_presence_chooser_create_menu")
1206   (return-type "GtkWidget*")
1207 )
1208
1209
1210
1211 ;; From empathy-theme-manager.h
1212
1213 (define-function theme_manager_get_type
1214   (c-name "empathy_theme_manager_get_type")
1215   (return-type "GType")
1216 )
1217
1218 (define-function theme_manager_get
1219   (c-name "empathy_theme_manager_get")
1220   (return-type "EmpathyThemeManager*")
1221 )
1222
1223 (define-function theme_manager_get_themes
1224   (c-name "empathy_theme_manager_get_themes")
1225   (return-type "const-gchar**")
1226 )
1227
1228 (define-method apply
1229   (of-object "EmpathyThemeManager")
1230   (c-name "empathy_theme_manager_apply")
1231   (return-type "none")
1232   (parameters
1233     '("EmpathyChatView*" "view")
1234     '("const-gchar*" "theme")
1235   )
1236 )
1237
1238 (define-method apply_saved
1239   (of-object "EmpathyThemeManager")
1240   (c-name "empathy_theme_manager_apply_saved")
1241   (return-type "none")
1242   (parameters
1243     '("EmpathyChatView*" "view")
1244   )
1245 )
1246
1247
1248
1249 ;; From empathy-avatar-image.h
1250
1251 (define-function avatar_image_get_type
1252   (c-name "empathy_avatar_image_get_type")
1253   (return-type "GType")
1254 )
1255
1256 (define-function avatar_image_new
1257   (c-name "empathy_avatar_image_new")
1258   (is-constructor-of "EmpathyAvatarImage")
1259   (return-type "GtkWidget*")
1260 )
1261
1262 (define-method set
1263   (of-object "EmpathyAvatarImage")
1264   (c-name "empathy_avatar_image_set")
1265   (return-type "none")
1266   (parameters
1267     '("EmpathyAvatar*" "avatar")
1268   )
1269 )
1270
1271
1272
1273 ;; From empathy-contact-list-view.h
1274
1275 (define-function contact_list_view_get_type
1276   (c-name "empathy_contact_list_view_get_type")
1277   (return-type "GType")
1278 )
1279
1280 (define-function contact_list_view_new
1281   (c-name "empathy_contact_list_view_new")
1282   (is-constructor-of "EmpathyContactListView")
1283   (return-type "EmpathyContactListView*")
1284   (parameters
1285     '("EmpathyContactListStore*" "store")
1286     '("EmpathyContactListFeatureFlags" "list_features")
1287     '("EmpathyContactFeatureFlags" "contact_features")
1288   )
1289 )
1290
1291 (define-method get_selected
1292   (of-object "EmpathyContactListView")
1293   (c-name "empathy_contact_list_view_get_selected")
1294   (return-type "EmpathyContact*")
1295 )
1296
1297 (define-method get_selected_group
1298   (of-object "EmpathyContactListView")
1299   (c-name "empathy_contact_list_view_get_selected_group")
1300   (return-type "gchar*")
1301 )
1302
1303 (define-method get_contact_menu
1304   (of-object "EmpathyContactListView")
1305   (c-name "empathy_contact_list_view_get_contact_menu")
1306   (return-type "GtkWidget*")
1307 )
1308
1309 (define-method get_group_menu
1310   (of-object "EmpathyContactListView")
1311   (c-name "empathy_contact_list_view_get_group_menu")
1312   (return-type "GtkWidget*")
1313 )
1314
1315
1316
1317 ;; From empathy-ui-utils.h
1318
1319 (define-function glade_get_file_simple
1320   (c-name "empathy_glade_get_file_simple")
1321   (return-type "none")
1322   (parameters
1323     '("const-gchar*" "filename")
1324     '("const-gchar*" "root")
1325     '("const-gchar*" "domain")
1326     '("const-gchar*" "first_required_widget")
1327   )
1328   (varargs #t)
1329 )
1330
1331 (define-function glade_get_file
1332   (c-name "empathy_glade_get_file")
1333   (return-type "GladeXML*")
1334   (parameters
1335     '("const-gchar*" "filename")
1336     '("const-gchar*" "root")
1337     '("const-gchar*" "domain")
1338     '("const-gchar*" "first_required_widget")
1339   )
1340   (varargs #t)
1341 )
1342
1343 (define-function glade_connect
1344   (c-name "empathy_glade_connect")
1345   (return-type "none")
1346   (parameters
1347     '("GladeXML*" "gui")
1348     '("gpointer" "user_data")
1349     '("gchar*" "first_widget")
1350   )
1351   (varargs #t)
1352 )
1353
1354 (define-function glade_setup_size_group
1355   (c-name "empathy_glade_setup_size_group")
1356   (return-type "none")
1357   (parameters
1358     '("GladeXML*" "gui")
1359     '("GtkSizeGroupMode" "mode")
1360     '("gchar*" "first_widget")
1361   )
1362   (varargs #t)
1363 )
1364
1365 (define-function icon_name_from_account
1366   (c-name "empathy_icon_name_from_account")
1367   (return-type "const-gchar*")
1368   (parameters
1369     '("McAccount*" "account")
1370   )
1371 )
1372
1373 (define-function icon_name_for_presence
1374   (c-name "empathy_icon_name_for_presence")
1375   (return-type "const-gchar*")
1376   (parameters
1377     '("McPresence" "presence")
1378   )
1379 )
1380
1381 (define-function icon_name_for_contact
1382   (c-name "empathy_icon_name_for_contact")
1383   (return-type "const-gchar*")
1384   (parameters
1385     '("EmpathyContact*" "contact")
1386   )
1387 )
1388
1389 (define-function pixbuf_from_data
1390   (c-name "empathy_pixbuf_from_data")
1391   (return-type "GdkPixbuf*")
1392   (parameters
1393     '("gchar*" "data")
1394     '("gsize" "data_size")
1395   )
1396 )
1397
1398 (define-function pixbuf_from_avatar_scaled
1399   (c-name "empathy_pixbuf_from_avatar_scaled")
1400   (return-type "GdkPixbuf*")
1401   (parameters
1402     '("EmpathyAvatar*" "avatar")
1403     '("gint" "width")
1404     '("gint" "height")
1405   )
1406 )
1407
1408 (define-function pixbuf_avatar_from_contact_scaled
1409   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1410   (return-type "GdkPixbuf*")
1411   (parameters
1412     '("EmpathyContact*" "contact")
1413     '("gint" "width")
1414     '("gint" "height")
1415   )
1416 )
1417
1418 (define-function pixbuf_scale_down_if_necessary
1419   (c-name "empathy_pixbuf_scale_down_if_necessary")
1420   (return-type "GdkPixbuf*")
1421   (parameters
1422     '("GdkPixbuf*" "pixbuf")
1423     '("gint" "max_size")
1424   )
1425 )
1426
1427 (define-function pixbuf_from_icon_name
1428   (c-name "empathy_pixbuf_from_icon_name")
1429   (return-type "GdkPixbuf*")
1430   (parameters
1431     '("const-gchar*" "icon_name")
1432     '("GtkIconSize" "icon_size")
1433   )
1434 )
1435
1436 (define-function text_iter_forward_search
1437   (c-name "empathy_text_iter_forward_search")
1438   (return-type "gboolean")
1439   (parameters
1440     '("const-GtkTextIter*" "iter")
1441     '("const-gchar*" "str")
1442     '("GtkTextIter*" "match_start")
1443     '("GtkTextIter*" "match_end")
1444     '("const-GtkTextIter*" "limit")
1445   )
1446 )
1447
1448 (define-function text_iter_backward_search
1449   (c-name "empathy_text_iter_backward_search")
1450   (return-type "gboolean")
1451   (parameters
1452     '("const-GtkTextIter*" "iter")
1453     '("const-gchar*" "str")
1454     '("GtkTextIter*" "match_start")
1455     '("GtkTextIter*" "match_end")
1456     '("const-GtkTextIter*" "limit")
1457   )
1458 )
1459
1460 (define-function window_get_is_visible
1461   (c-name "empathy_window_get_is_visible")
1462   (return-type "gboolean")
1463   (parameters
1464     '("GtkWindow*" "window")
1465   )
1466 )
1467
1468 (define-function window_present
1469   (c-name "empathy_window_present")
1470   (return-type "none")
1471   (parameters
1472     '("GtkWindow*" "window")
1473     '("gboolean" "steal_focus")
1474   )
1475 )
1476
1477 (define-function window_iconify
1478   (c-name "empathy_window_iconify")
1479   (return-type "none")
1480   (parameters
1481     '("GtkWindow*" "window")
1482     '("GtkStatusIcon*" "status_icon")
1483   )
1484 )
1485
1486 (define-function get_toplevel_window
1487   (c-name "empathy_get_toplevel_window")
1488   (return-type "GtkWindow*")
1489   (parameters
1490     '("GtkWidget*" "widget")
1491   )
1492 )
1493
1494 (define-function url_show
1495   (c-name "empathy_url_show")
1496   (return-type "none")
1497   (parameters
1498     '("const-char*" "url")
1499   )
1500 )
1501
1502 (define-function toggle_button_set_state_quietly
1503   (c-name "empathy_toggle_button_set_state_quietly")
1504   (return-type "none")
1505   (parameters
1506     '("GtkWidget*" "widget")
1507     '("GCallback" "callback")
1508     '("gpointer" "user_data")
1509     '("gboolean" "active")
1510   )
1511 )
1512
1513 (define-function link_button_new
1514   (c-name "empathy_link_button_new")
1515   (is-constructor-of "EmpathyLinkButton")
1516   (return-type "GtkWidget*")
1517   (parameters
1518     '("const-gchar*" "url")
1519     '("const-gchar*" "title")
1520   )
1521 )
1522
1523 (define-function text_buffer_tag_set
1524   (c-name "empathy_text_buffer_tag_set")
1525   (return-type "GtkTextTag*")
1526   (parameters
1527     '("GtkTextBuffer*" "buffer")
1528     '("const-gchar*" "tag_name")
1529     '("const-gchar*" "first_property_name")
1530   )
1531   (varargs #t)
1532 )
1533
1534
1535
1536 ;; From empathy-cell-renderer-activatable.h
1537
1538 (define-function cell_renderer_activatable_get_type
1539   (c-name "empathy_cell_renderer_activatable_get_type")
1540   (return-type "GType")
1541 )
1542
1543 (define-function cell_renderer_activatable_new
1544   (c-name "empathy_cell_renderer_activatable_new")
1545   (is-constructor-of "EmpathyCellRendererActivatable")
1546   (return-type "GtkCellRenderer*")
1547 )
1548
1549
1550
1551 ;; From empathy-contact-widget.h
1552
1553 (define-method widget_new
1554   (of-object "EmpathyContact")
1555   (c-name "empathy_contact_widget_new")
1556   (return-type "GtkWidget*")
1557   (parameters
1558     '("EmpathyContactWidgetFlags" "flags")
1559   )
1560 )
1561
1562 (define-function contact_widget_get_contact
1563   (c-name "empathy_contact_widget_get_contact")
1564   (return-type "EmpathyContact*")
1565   (parameters
1566     '("GtkWidget*" "widget")
1567   )
1568 )
1569
1570 (define-function contact_widget_set_contact
1571   (c-name "empathy_contact_widget_set_contact")
1572   (return-type "none")
1573   (parameters
1574     '("GtkWidget*" "widget")
1575     '("EmpathyContact*" "contact")
1576   )
1577 )
1578
1579 (define-function contact_widget_set_account_filter
1580   (c-name "empathy_contact_widget_set_account_filter")
1581   (return-type "none")
1582   (parameters
1583     '("GtkWidget*" "widget")
1584     '("EmpathyAccountChooserFilterFunc" "filter")
1585     '("gpointer" "user_data")
1586   )
1587 )
1588
1589
1590
1591 ;; From empathy-profile-chooser.h
1592
1593 (define-function profile_chooser_new
1594   (c-name "empathy_profile_chooser_new")
1595   (is-constructor-of "EmpathyProfileChooser")
1596   (return-type "GtkWidget*")
1597 )
1598
1599 (define-function profile_chooser_get_selected
1600   (c-name "empathy_profile_chooser_get_selected")
1601   (return-type "McProfile*")
1602   (parameters
1603     '("GtkWidget*" "widget")
1604   )
1605 )
1606
1607 (define-function profile_chooser_n_profiles
1608   (c-name "empathy_profile_chooser_n_profiles")
1609   (return-type "gint")
1610   (parameters
1611     '("GtkWidget*" "widget")
1612   )
1613 )
1614
1615
1616
1617 ;; From empathy-cell-renderer-expander.h
1618
1619 (define-function cell_renderer_expander_get_type
1620   (c-name "empathy_cell_renderer_expander_get_type")
1621   (return-type "GType")
1622 )
1623
1624 (define-function cell_renderer_expander_new
1625   (c-name "empathy_cell_renderer_expander_new")
1626   (is-constructor-of "EmpathyCellRendererExpander")
1627   (return-type "GtkCellRenderer*")
1628 )
1629
1630
1631
1632 ;; From empathy-geometry.h
1633
1634 (define-function geometry_save
1635   (c-name "empathy_geometry_save")
1636   (return-type "none")
1637   (parameters
1638     '("const-gchar*" "name")
1639     '("gint" "x")
1640     '("gint" "y")
1641     '("gint" "w")
1642     '("gint" "h")
1643   )
1644 )
1645
1646 (define-function geometry_load
1647   (c-name "empathy_geometry_load")
1648   (return-type "none")
1649   (parameters
1650     '("const-gchar*" "name")
1651     '("gint*" "x")
1652     '("gint*" "y")
1653     '("gint*" "w")
1654     '("gint*" "h")
1655   )
1656 )
1657
1658
1659
1660 ;; From empathy-smiley-manager.h
1661
1662 (define-function smiley_manager_get_type
1663   (c-name "empathy_smiley_manager_get_type")
1664   (return-type "GType")
1665 )
1666
1667 (define-function smiley_manager_new
1668   (c-name "empathy_smiley_manager_new")
1669   (is-constructor-of "EmpathySmileyManager")
1670   (return-type "EmpathySmileyManager*")
1671 )
1672
1673 (define-method load
1674   (of-object "EmpathySmileyManager")
1675   (c-name "empathy_smiley_manager_load")
1676   (return-type "none")
1677 )
1678
1679 (define-method add
1680   (of-object "EmpathySmileyManager")
1681   (c-name "empathy_smiley_manager_add")
1682   (return-type "none")
1683   (parameters
1684     '("const-gchar*" "icon_name")
1685     '("const-gchar*" "first_str")
1686   )
1687   (varargs #t)
1688 )
1689
1690 (define-method add_from_pixbuf
1691   (of-object "EmpathySmileyManager")
1692   (c-name "empathy_smiley_manager_add_from_pixbuf")
1693   (return-type "none")
1694   (parameters
1695     '("GdkPixbuf*" "smiley")
1696     '("const-gchar*" "first_str")
1697   )
1698   (varargs #t)
1699 )
1700
1701 (define-method get_all
1702   (of-object "EmpathySmileyManager")
1703   (c-name "empathy_smiley_manager_get_all")
1704   (return-type "GSList*")
1705 )
1706
1707 (define-method parse
1708   (of-object "EmpathySmileyManager")
1709   (c-name "empathy_smiley_manager_parse")
1710   (return-type "GSList*")
1711   (parameters
1712     '("const-gchar*" "text")
1713   )
1714 )
1715
1716 (define-method free
1717   (of-object "EmpathySmiley")
1718   (c-name "empathy_smiley_free")
1719   (return-type "none")
1720 )
1721
1722
1723
1724 ;; From empathy-cell-renderer-text.h
1725
1726 (define-function cell_renderer_text_get_type
1727   (c-name "empathy_cell_renderer_text_get_type")
1728   (return-type "GType")
1729 )
1730
1731 (define-function cell_renderer_text_new
1732   (c-name "empathy_cell_renderer_text_new")
1733   (is-constructor-of "EmpathyCellRendererText")
1734   (return-type "GtkCellRenderer*")
1735 )
1736
1737
1738
1739 ;; From empathy-spell.h
1740
1741 (define-function spell_supported
1742   (c-name "empathy_spell_supported")
1743   (return-type "gboolean")
1744 )
1745
1746 (define-function spell_get_language_name
1747   (c-name "empathy_spell_get_language_name")
1748   (return-type "const-gchar*")
1749   (parameters
1750     '("const-gchar*" "code")
1751   )
1752 )
1753
1754 (define-function spell_get_language_codes
1755   (c-name "empathy_spell_get_language_codes")
1756   (return-type "GList*")
1757 )
1758
1759 (define-function spell_free_language_codes
1760   (c-name "empathy_spell_free_language_codes")
1761   (return-type "none")
1762   (parameters
1763     '("GList*" "codes")
1764   )
1765 )
1766
1767 (define-function spell_check
1768   (c-name "empathy_spell_check")
1769   (return-type "gboolean")
1770   (parameters
1771     '("const-gchar*" "word")
1772   )
1773 )
1774
1775 (define-function spell_get_suggestions
1776   (c-name "empathy_spell_get_suggestions")
1777   (return-type "GList*")
1778   (parameters
1779     '("const-gchar*" "word")
1780   )
1781 )
1782
1783 (define-function spell_free_suggestions
1784   (c-name "empathy_spell_free_suggestions")
1785   (return-type "none")
1786   (parameters
1787     '("GList*" "suggestions")
1788   )
1789 )
1790
1791
1792
1793 ;; From empathy-contact-menu.h
1794
1795 (define-method menu_new
1796   (of-object "EmpathyContact")
1797   (c-name "empathy_contact_menu_new")
1798   (return-type "GtkWidget*")
1799   (parameters
1800     '("EmpathyContactFeatureFlags" "features")
1801   )
1802 )
1803
1804 (define-method chat_menu_item_new
1805   (of-object "EmpathyContact")
1806   (c-name "empathy_contact_chat_menu_item_new")
1807   (return-type "GtkWidget*")
1808 )
1809
1810 (define-method call_menu_item_new
1811   (of-object "EmpathyContact")
1812   (c-name "empathy_contact_call_menu_item_new")
1813   (return-type "GtkWidget*")
1814 )
1815
1816 (define-method log_menu_item_new
1817   (of-object "EmpathyContact")
1818   (c-name "empathy_contact_log_menu_item_new")
1819   (return-type "GtkWidget*")
1820 )
1821
1822 (define-method info_menu_item_new
1823   (of-object "EmpathyContact")
1824   (c-name "empathy_contact_info_menu_item_new")
1825   (return-type "GtkWidget*")
1826 )
1827
1828 (define-method edit_menu_item_new
1829   (of-object "EmpathyContact")
1830   (c-name "empathy_contact_edit_menu_item_new")
1831   (return-type "GtkWidget*")
1832 )
1833
1834