~ubuntu-branches/ubuntu/precise/evolution/precise

« back to all changes in this revision

Viewing changes to widgets/table/e-cell-hbox.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-06-24 00:27:53 UTC
  • mfrom: (1.1.80 upstream)
  • Revision ID: james.westby@ubuntu.com-20110624002753-2vh1vjavlya7r103
Tags: 3.1.2-0ubuntu1
* New upstream release 3.1.2.
* debian/control: adjust Build-Depends to match new upstream requirements for
  the new release.
* debian/control: update evolution and evolution-dev Depends to require the
  right versions of e-d-s (>= 3.1, << 3.2), and drop libunique-3.0-dev.
* debian/control,
  debian/evolution.install: remove groupwise-features from the plugin list,
  it's now split out into a separate module.
* debian/patches/03_lpi.patch: refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 *
25
25
 */
26
26
 
 
27
#ifdef HAVE_CONFIG_H
27
28
#include <config.h>
 
29
#endif
28
30
 
29
31
#include <ctype.h>
30
32
#include <math.h>
72
74
                hbox_view->def_size_cols[i] = ecv->def_size_cols[i];
73
75
        }
74
76
 
75
 
        return (ECellView *)hbox_view;
 
77
        return (ECellView *) hbox_view;
76
78
}
77
79
 
78
80
/*
149
151
          gint x2,
150
152
          gint y2)
151
153
{
152
 
        ECellHboxView *hbox_view = (ECellHboxView *)ecell_view;
 
154
        ECellHboxView *hbox_view = (ECellHboxView *) ecell_view;
153
155
 
154
156
        gint subcell_offset = 0;
155
157
        gint i;
180
182
static gint
181
183
ecv_event (ECellView *ecell_view, GdkEvent *event, gint model_col, gint view_col, gint row, ECellFlags flags, ECellActions *actions)
182
184
{
183
 
        ECellHboxView *hbox_view = (ECellHboxView *)ecell_view;
 
185
        ECellHboxView *hbox_view = (ECellHboxView *) ecell_view;
184
186
        gint y = 0;
185
187
        gint i;
186
188
        gint subcell_offset = 0;
217
219
static gint
218
220
ecv_height (ECellView *ecell_view, gint model_col, gint view_col, gint row)
219
221
{
220
 
        ECellHboxView *hbox_view = (ECellHboxView *)ecell_view;
 
222
        ECellHboxView *hbox_view = (ECellHboxView *) ecell_view;
221
223
        gint height = 0, max_height = 0;
222
224
        gint i;
223
225
 
234
236
static gint
235
237
ecv_max_width (ECellView *ecell_view, gint model_col, gint view_col)
236
238
{
237
 
        ECellHboxView *hbox_view = (ECellHboxView *)ecell_view;
 
239
        ECellHboxView *hbox_view = (ECellHboxView *) ecell_view;
238
240
        gint width = 0;
239
241
        gint i;
240
242