~ubuntu-branches/debian/wheezy/nautilus/wheezy

« back to all changes in this revision

Viewing changes to src/nautilus-connect-server-operation.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2011-11-21 20:52:38 UTC
  • mfrom: (3.1.14 experimental)
  • Revision ID: package-import@ubuntu.com-20111121205238-lo8b89pqpzv9p1jk
Tags: 3.2.1-2
* Upload to unstable.
* debian/control.in:
  - Drop Build-Depends on libdbus-glib-1-dev, no longer required.
  - Drop Recommends on desktop-base. It was originally added when nautilus
    was patched to show the .desktop icons from the desktop-base package. We
    don't do that anymore, so the Recommends has become obsolete.
  - Drop Recommends on consolekit. The ConsoleKit specific functionality has
    been moved into gnome-settings-daemon.
  - Drop Recommends on synaptic and app-install-data. We no longer call
    synaptic for mimetypes without a handler as this functionality is
    provided by alternatives like PackageKit or sessioninstaller now.
  - Update Vcs-* URLs.
* debian/nautilus-data.gconf-defaults:
  - Removed, obsolete.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
        switch (property_id) {
95
95
        case PROP_DIALOG:
96
 
                self->details->dialog = g_value_get_object (value);
 
96
                self->details->dialog = g_value_dup_object (value);
97
97
                break;
98
98
        default:
99
99
                G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
102
102
}
103
103
 
104
104
static void
 
105
nautilus_connect_server_operation_dispose (GObject *object)
 
106
{
 
107
        NautilusConnectServerOperation *self = NAUTILUS_CONNECT_SERVER_OPERATION (object);
 
108
 
 
109
        g_clear_object (&self->details->dialog);
 
110
 
 
111
        G_OBJECT_CLASS (nautilus_connect_server_operation_parent_class)->dispose (object);
 
112
}
 
113
 
 
114
static void
105
115
nautilus_connect_server_operation_class_init (NautilusConnectServerOperationClass *klass)
106
116
{
107
117
        GMountOperationClass *mount_op_class;
110
120
 
111
121
        object_class = G_OBJECT_CLASS (klass);
112
122
        object_class->set_property = nautilus_connect_server_operation_set_property;
 
123
        object_class->dispose = nautilus_connect_server_operation_dispose;
113
124
 
114
125
        mount_op_class = G_MOUNT_OPERATION_CLASS (klass);
115
126
        mount_op_class->ask_password = nautilus_connect_server_operation_ask_password;