summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-02-25 10:42:42 +0100
committerMatthias Clasen <mclasen@redhat.com>2013-02-25 10:54:32 +0100
commit82928c2a2a10a84613e0ede42eaa327f89a775aa (patch)
treeb70cd135794e47b46843b74edfe61e68fc98dc74
parent67635e9177f90218c28f94c1bcc7e72767f5ed47 (diff)
downloadgtk+-82928c2a2a10a84613e0ede42eaa327f89a775aa.tar.gz
Pedantic fixes
Remove a C99 comment, and line up comment formatting.
-rw-r--r--gdk/gdkframeclockidle.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdk/gdkframeclockidle.c b/gdk/gdkframeclockidle.c
index 59a18de064..2d4947c4df 100644
--- a/gdk/gdkframeclockidle.c
+++ b/gdk/gdkframeclockidle.c
@@ -35,7 +35,7 @@
#include <windows.h>
#endif
-#define FRAME_INTERVAL 16667 // microseconds
+#define FRAME_INTERVAL 16667 /* microseconds */
struct _GdkFrameClockIdlePrivate
{
@@ -365,7 +365,8 @@ gdk_frame_clock_paint_idle (void *data)
/* We always emit ::before-paint and ::after-paint if
* any of the intermediate phases are requested and
* they don't get repeated if you freeze/thaw while
- * in them. */
+ * in them.
+ */
priv->requested &= ~GDK_FRAME_CLOCK_PHASE_BEFORE_PAINT;
g_signal_emit_by_name (G_OBJECT (clock), "before-paint");
priv->phase = GDK_FRAME_CLOCK_PHASE_UPDATE;
@@ -547,7 +548,8 @@ gdk_frame_clock_idle_thaw (GdkFrameClock *clock)
maybe_start_idle (clock_idle);
/* If nothing is requested so we didn't start an idle, we need
* to skip to the end of the state chain, since the idle won't
- * run and do it for us. */
+ * run and do it for us.
+ */
if (priv->paint_idle_id == 0)
priv->phase = GDK_FRAME_CLOCK_PHASE_NONE;