~mhr3/dee/private-connections

« back to all changes in this revision

Viewing changes to tests/test-filter-model.c

  • Committer: Michal Hruby
  • Date: 2011-12-16 13:38:25 UTC
  • Revision ID: michal.mhr@gmail.com-20111216133825-ncwo14wuz2g7g20a
Fix warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    }
121
121
}
122
122
 
123
 
static void
 
123
static gboolean
124
124
discard_all_model_notify (DeeModel       *orig_model,
125
125
                          DeeModelIter   *orig_iter,
126
126
                          DeeFilterModel *mapped_model,
127
127
                          gpointer        user_data)
128
128
{
129
129
  /* Do nothing */
 
130
 
 
131
  return FALSE;
130
132
}
131
133
 
132
 
static void
 
134
static gboolean
133
135
append_all_model_notify (DeeModel       *orig_model,
134
136
                         DeeModelIter   *orig_iter,
135
137
                         DeeFilterModel *mapped_model,
138
140
  /* Always say "Thank you, I am delighted",
139
141
   * and append the new row to @mapped_model */
140
142
  dee_filter_model_append_iter (mapped_model, orig_iter);
 
143
 
 
144
  return TRUE;
141
145
}
142
146
 
143
147
static void