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

« back to all changes in this revision

Viewing changes to addressbook/gui/widgets/e-minicard-view.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:
20
20
 *
21
21
 */
22
22
 
 
23
#ifdef HAVE_CONFIG_H
23
24
#include <config.h>
 
25
#endif
24
26
 
25
27
#include "e-minicard-view.h"
26
28
 
121
123
static void
122
124
clear_drag_data (EMinicardView *view)
123
125
{
124
 
        g_list_foreach (view->drag_list, (GFunc)g_object_unref, NULL);
 
126
        g_list_foreach (view->drag_list, (GFunc) g_object_unref, NULL);
125
127
        g_list_free (view->drag_list);
126
128
        view->drag_list = NULL;
127
129
}
147
149
                                  target_list, actions, 1/*XXX*/, event);
148
150
 
149
151
        if (!view->canvas_drag_data_get_id)
150
 
                view->canvas_drag_data_get_id = g_signal_connect (GNOME_CANVAS_ITEM (view)->canvas,
151
 
                                                                  "drag_data_get",
152
 
                                                                  G_CALLBACK (e_minicard_view_drag_data_get),
153
 
                                                                  view);
 
152
                view->canvas_drag_data_get_id = g_signal_connect (
 
153
                        GNOME_CANVAS_ITEM (view)->canvas, "drag_data_get",
 
154
                        G_CALLBACK (e_minicard_view_drag_data_get), view);
154
155
 
155
156
        gtk_drag_set_icon_default (context);
156
157
 
386
387
 
387
388
        switch (event->type) {
388
389
        case GDK_2BUTTON_PRESS:
389
 
                if (((GdkEventButton *)event)->button == 1) {
 
390
                if (((GdkEventButton *) event)->button == 1) {
390
391
                        gboolean editable;
391
392
 
392
393
                        g_object_get(view->adapter, "editable", &editable, NULL);
616
617
                        (GInstanceInitFunc) e_minicard_view_init,
617
618
                };
618
619
 
619
 
                reflow_type = g_type_register_static (PARENT_TYPE, "EMinicardView", &reflow_info, 0);
 
620
                reflow_type = g_type_register_static (
 
621
                        PARENT_TYPE, "EMinicardView", &reflow_info, 0);
620
622
        }
621
623
 
622
624
        return reflow_type;