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