Commit 3af60ead authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/display/gimpdisplayshell-close.c app/widgets/gimpactionview.c

2005-10-25  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-close.c
	* app/widgets/gimpactionview.c
	* modules/controller_midi.c: g_source_unref() GSources after
	attaching them.
parent 0fe6fad4
2005-10-25 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-close.c
* app/widgets/gimpactionview.c
* modules/controller_midi.c: g_source_unref() GSources after
attaching them.
2005-10-25 DindinX <dindinx@gimp.org>
* app/paint-funcs/scale-funcs.c (subsample_region): correctly pass
......
......@@ -173,6 +173,7 @@ gimp_display_shell_close_dialog (GimpDisplayShell *shell,
source = g_timeout_source_new (1000);
g_source_set_closure (source, closure);
g_source_attach (source, NULL);
g_source_unref (source);
/* The dialog is destroyed with the shell, so it should be safe
* to hold an image pointer for the lifetime of the dialog.
......
......@@ -193,6 +193,7 @@ gimp_action_view_button_press (GtkWidget *widget,
source = g_idle_source_new ();
g_source_set_closure (source, closure);
g_source_attach (source, NULL);
g_source_unref (source);
}
return TRUE;
......
......@@ -487,6 +487,7 @@ midi_set_device (ControllerMidi *midi,
sizeof (GAlsaSource));
event_source->controller = midi;
midi->seq_id = g_source_attach ((GSource *) event_source, NULL);
g_source_unref (event_source);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment