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