[eog/wip/gaction-migration] Remove debug printouts
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/wip/gaction-migration] Remove debug printouts
- Date: Wed, 17 Dec 2014 21:15:38 +0000 (UTC)
commit b1b868035d5a580459b7a83bc5e9bfb9a3d33985
Author: Felix Riemann <friemann gnome org>
Date: Wed Dec 17 22:14:36 2014 +0100
Remove debug printouts
src/eog-window.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index bebebd9..df4dee9 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4034,7 +4034,6 @@ eog_window_ui_settings_changed_cb (GSettings *settings,
GAction *action = NULL;
g_return_if_fail (EOG_IS_WINDOW (user_data));
- g_warn_if_reached();
window = EOG_WINDOW (user_data);
if (g_ascii_strcasecmp (key, EOG_CONF_UI_IMAGE_GALLERY) == 0) {
@@ -4052,8 +4051,6 @@ eog_window_ui_settings_changed_cb (GSettings *settings,
old_state = g_action_get_state (action);
- g_print("change: %s\n", key);
-
if (g_variant_get_boolean (new_state) != g_variant_get_boolean (old_state))
g_action_change_state (action, new_state);
}
@@ -4621,7 +4618,7 @@ eog_window_init (EogWindow *window)
* not trigger the state changed handler since the state is updated directly
* via the "state" property. Requesting a state change via this callback,
* however, works. */
- g_signal_connect (priv->ui_settings, "changed::image-gallery",
+ g_signal_connect (priv->ui_settings, "changed",
G_CALLBACK (eog_window_ui_settings_changed_cb),
window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]