Changeset 33b64f22


Ignore:
Timestamp:
Jun 15, 2010, 12:09:25 AM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
95d54e6
Parents:
1aa4cc4
Message:
has_children and num_children aren't really necessary
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • window.c

    r1aa4cc4 r33b64f22  
    215215    func(w, user_data);
    216216  }
    217 }
    218 
    219 gboolean owl_window_has_children(owl_window *parent)
    220 {
    221   return parent->child != NULL;
    222 }
    223 
    224 int owl_window_num_children(owl_window *parent)
    225 {
    226   owl_window *w;
    227   int num = 0;
    228   for (w = parent->child;
    229        w != NULL;
    230        w = w->next) {
    231     num++;
    232   }
    233   return num;
    234217}
    235218
  • window.h

    r1aa4cc4 r33b64f22  
    3434
    3535void owl_window_children_foreach(owl_window *parent, GFunc func, gpointer user_data);
    36 gboolean owl_window_has_children(owl_window *parent);
    37 int owl_window_num_children(owl_window *parent);
    3836
    3937owl_window *owl_window_parent(owl_window *parent);
Note: See TracChangeset for help on using the changeset viewer.