~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to gtk/window-decorator/frames.c

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
decor_frame_t *
110
110
gwd_decor_frame_ref (decor_frame_t *frame)
111
111
{
112
 
    frame->refcount++;
 
112
    ++frame->refcount;
113
113
    return frame;
114
114
}
115
115
 
116
116
decor_frame_t *
117
117
gwd_decor_frame_unref (decor_frame_t *frame)
118
118
{
119
 
    frame->refcount--;
 
119
    --frame->refcount;
120
120
 
121
121
    if (frame->refcount == 0)
122
122
    {
172
172
{
173
173
    gint   i = 0;
174
174
 
175
 
    for (; i < frame_keys_num; i++)
 
175
    for (; i < frame_keys_num; ++i)
176
176
    {
177
177
        gpointer frame = g_hash_table_lookup (frames_table, frame_keys[i]);
178
178