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