[gimp] app: fix a few compilation warnings
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix a few compilation warnings
- Date: Wed, 4 Sep 2019 18:01:48 +0000 (UTC)
commit aab9f0ee10f624007284face201091ba78290689
Author: Ell <ell_se yahoo com>
Date: Wed Sep 4 19:03:47 2019 +0300
app: fix a few compilation warnings
app/actions/window-commands.c | 2 ++
app/widgets/gimptoggleaction.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/app/actions/window-commands.c b/app/actions/window-commands.c
index 5ed1c0f0c0..fc02293173 100644
--- a/app/actions/window-commands.c
+++ b/app/actions/window-commands.c
@@ -139,7 +139,9 @@ window_move_to_screen_cmd_callback (GimpAction *action,
gpointer data)
{
GtkWidget *widget;
+#if 0
GdkScreen *screen;
+#endif
return_if_no_widget (widget, data);
#if 0
diff --git a/app/widgets/gimptoggleaction.c b/app/widgets/gimptoggleaction.c
index a196ad8cca..b1112e500b 100644
--- a/app/widgets/gimptoggleaction.c
+++ b/app/widgets/gimptoggleaction.c
@@ -74,7 +74,7 @@ gimp_toggle_action_connect_proxy (GtkAction *action,
static void
gimp_toggle_action_toggled (GtkToggleAction *action)
{
- gboolean value = gimp_toggle_action_get_active (action);
+ gboolean value = gimp_toggle_action_get_active (GIMP_TOGGLE_ACTION (action));
gimp_action_emit_change_state (GIMP_ACTION (action),
g_variant_new_boolean (value));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]