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