mirror of https://github.com/GNOME/gimp.git
app: fix a few compilation warnings
This commit is contained in:
parent
b7674faef8
commit
aab9f0ee10
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue