Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Krzyszkowiak
chatty
Commits
564ff75a
Commit
564ff75a
authored
Jan 07, 2020
by
Andrea Schaefer
Browse files
Code cleanup
parent
53b5b4c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/chatty-settings.c
View file @
564ff75a
...
...
@@ -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
...
...
src/chatty-settings.h
View file @
564ff75a
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment