Commit 564ff75a authored by Andrea Schaefer's avatar Andrea Schaefer
Browse files

Code cleanup

parent 53b5b4c6
Pipeline #50559 passed with stages
in 5 minutes and 43 seconds
......@@ -298,28 +298,6 @@ chatty_settings_get_default (void)
}
/**
* chatty_settings_bind_widget:
* @self: A #ChattySettings
* key: A key to bind
* widget: A GtkWidget to tie to
* property: The widget property to bind
*
*/
void
chatty_settings_bind_widget (ChattySettings *self,
const char *key,
GtkWidget *widget,
const char *property)
{
g_return_if_fail (CHATTY_IS_SETTINGS(self) || widget != NULL);
g_settings_bind (self->settings, key,
widget, property,
G_SETTINGS_BIND_DEFAULT);
}
/**
* chatty_settings_get_first_start:
* @self: A #ChattySettings
......
......@@ -41,7 +41,4 @@ gboolean chatty_settings_get_indicate_unkown_contacts (ChattySettings *se
gboolean chatty_settings_get_convert_emoticons (ChattySettings *self);
gboolean chatty_settings_get_return_sends_message (ChattySettings *self);
void chatty_settings_bind_widget (ChattySettings *self, const char *key,
GtkWidget *widget, const char *property);
G_END_DECLS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment