app: fix a few compilation warnings

This commit is contained in:
Ell 2019-09-04 19:03:47 +03:00
parent b7674faef8
commit aab9f0ee10
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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));