mirror of https://github.com/GNOME/gimp.git
minor cleanup.
2006-09-11 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-selection.c: minor cleanup.
This commit is contained in:
parent
0c36c0ee54
commit
7a21918c54
|
@ -1,3 +1,7 @@
|
|||
2006-09-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-selection.c: minor cleanup.
|
||||
|
||||
2006-09-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-callbacks.c
|
||||
|
|
|
@ -273,7 +273,8 @@ selection_stop (Selection *selection)
|
|||
static void
|
||||
selection_pause (Selection *selection)
|
||||
{
|
||||
selection_stop (selection);
|
||||
if (selection->paused == 0)
|
||||
selection_stop (selection);
|
||||
|
||||
selection->paused++;
|
||||
}
|
||||
|
@ -281,13 +282,10 @@ selection_pause (Selection *selection)
|
|||
static void
|
||||
selection_resume (Selection *selection)
|
||||
{
|
||||
if (selection->paused == 1 && selection->visible)
|
||||
{
|
||||
selection->timeout = g_idle_add ((GSourceFunc) selection_start_timeout,
|
||||
selection);
|
||||
}
|
||||
|
||||
selection->paused--;
|
||||
|
||||
if (selection->paused == 0)
|
||||
selection_start (selection, FALSE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue