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