Changeset 38e2250 for window.h


Ignore:
Timestamp:
Sep 18, 2010, 5:07:40 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
5f0bcde
Parents:
6a35938
git-author:
David Benjamin <davidben@mit.edu> (08/15/10 16:12:07)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
Message:
Use bool instead of int in owl_window
File:
1 edited

Legend:

Unmodified
Added
Removed
  • window.h

    r06adc25 r38e2250  
    44#include <glib.h>
    55#include <glib-object.h>
     6
     7#ifdef HAVE_STDBOOL_H
     8#include <stdbool.h>
     9#else
     10#ifndef HAVE__BOOL
     11#define _Bool signed char
     12#endif
     13#define bool _Bool
     14#define false 0
     15#define true 1
     16#define __bool_true_false_are_defined 1
     17#endif  /* HAVE_STDBOOL_H */
    618
    719G_BEGIN_DECLS
     
    4355void owl_window_show_all(owl_window *w);
    4456void owl_window_hide(owl_window *w);
    45 int owl_window_is_shown(owl_window *w);
    46 int owl_window_is_realized(owl_window *w);
    47 int owl_window_is_toplevel(owl_window *w);
    48 int owl_window_is_subwin(owl_window *w);
     57bool owl_window_is_shown(owl_window *w);
     58bool owl_window_is_realized(owl_window *w);
     59bool owl_window_is_toplevel(owl_window *w);
     60bool owl_window_is_subwin(owl_window *w);
    4961
    5062void owl_window_set_cursor(owl_window *w);
Note: See TracChangeset for help on using the changeset viewer.