diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-03-03 23:51:48 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-03-04 17:38:43 +0800 |
commit | 1c9ef08484efd1596c57e1da7a17d3eb790d304d (patch) | |
tree | 7972a75530ff5968ec4c3c9ec78ecddcfffa1539 /libempathy-gtk | |
parent | 00ab069a55f05f0203bf58f071fa7adc54b6e9ac (diff) | |
download | gsoc2013-empathy-1c9ef08484efd1596c57e1da7a17d3eb790d304d.tar gsoc2013-empathy-1c9ef08484efd1596c57e1da7a17d3eb790d304d.tar.gz gsoc2013-empathy-1c9ef08484efd1596c57e1da7a17d3eb790d304d.tar.bz2 gsoc2013-empathy-1c9ef08484efd1596c57e1da7a17d3eb790d304d.tar.lz gsoc2013-empathy-1c9ef08484efd1596c57e1da7a17d3eb790d304d.tar.xz gsoc2013-empathy-1c9ef08484efd1596c57e1da7a17d3eb790d304d.tar.zst gsoc2013-empathy-1c9ef08484efd1596c57e1da7a17d3eb790d304d.zip |
Remove unused function empathy_toggle_button_set_state_quietly
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.c | 13 | ||||
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.h | 6 |
2 files changed, 0 insertions, 19 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 8819cb53a..d6e9ffeef 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -1690,16 +1690,3 @@ empathy_receive_file_with_file_chooser (EmpathyFTHandler *handler) gtk_widget_show (widget); } -void -empathy_toggle_button_set_state_quietly (GtkWidget *widget, - GCallback callback, - gpointer user_data, - gboolean active) -{ - g_return_if_fail (GTK_IS_TOGGLE_BUTTON (widget)); - - g_signal_handlers_block_by_func (widget, callback, user_data); - g_object_set (widget, "active", active, NULL); - g_signal_handlers_unblock_by_func (widget, callback, user_data); -} - diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h index 097976ad6..38732c7f9 100644 --- a/libempathy-gtk/empathy-ui-utils.h +++ b/libempathy-gtk/empathy-ui-utils.h @@ -128,12 +128,6 @@ void empathy_send_file_from_uri_list (EmpathyContact *conta void empathy_send_file_with_file_chooser (EmpathyContact *contact); void empathy_receive_file_with_file_chooser (EmpathyFTHandler *handler); -/* Misc */ -void empathy_toggle_button_set_state_quietly (GtkWidget *widget, - GCallback callback, - gpointer user_data, - gboolean active); - G_END_DECLS #endif /* __EMPATHY_UI_UTILS_H__ */ |