Mercurial > geeqie.yaz
comparison src/remote.c @ 1416:9fe2fede7ae5
Use gboolean pseudo type where applicable.
author | zas_ |
---|---|
date | Wed, 11 Mar 2009 22:56:56 +0000 |
parents | fe4da037be21 |
children | a3d3208b0c50 |
comparison
equal
deleted
inserted
replaced
1415:74d1fa5af269 | 1416:9fe2fede7ae5 |
---|---|
435 options->slideshow.delay = (gint)(n * 10.0 + 0.01); | 435 options->slideshow.delay = (gint)(n * 10.0 + 0.01); |
436 } | 436 } |
437 | 437 |
438 static void gr_tools_show(const gchar *text, gpointer data) | 438 static void gr_tools_show(const gchar *text, gpointer data) |
439 { | 439 { |
440 gint popped; | 440 gboolean popped; |
441 gint hidden; | 441 gboolean hidden; |
442 | 442 |
443 if (layout_tools_float_get(NULL, &popped, &hidden) && hidden) | 443 if (layout_tools_float_get(NULL, &popped, &hidden) && hidden) |
444 { | 444 { |
445 layout_tools_float_set(NULL, popped, FALSE); | 445 layout_tools_float_set(NULL, popped, FALSE); |
446 } | 446 } |
447 } | 447 } |
448 | 448 |
449 static void gr_tools_hide(const gchar *text, gpointer data) | 449 static void gr_tools_hide(const gchar *text, gpointer data) |
450 { | 450 { |
451 gint popped; | 451 gboolean popped; |
452 gint hidden; | 452 gboolean hidden; |
453 | 453 |
454 if (layout_tools_float_get(NULL, &popped, &hidden) && !hidden) | 454 if (layout_tools_float_get(NULL, &popped, &hidden) && !hidden) |
455 { | 455 { |
456 layout_tools_float_set(NULL, popped, TRUE); | 456 layout_tools_float_set(NULL, popped, TRUE); |
457 } | 457 } |