]> Pileus Git - ~andy/gtk/blob - gtk/gtkmountoperation-stub.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkmountoperation-stub.c
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* GTK - The GIMP Toolkit
3  * Copyright (C) David Zeuthen <davidz@redhat.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17  */
18
19 /*
20  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
21  * file for a list of people on the GTK+ Team.  See the ChangeLog
22  * files for a list of changes.  These files are distributed with
23  * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
24  */
25
26 #include "config.h"
27
28 #include <gio/gio.h>
29 #include "gtkintl.h"
30
31 #include "gtkmountoperationprivate.h"
32
33 GtkMountOperationLookupContext *
34 _gtk_mount_operation_lookup_context_get (GdkDisplay *display)
35 {
36   return NULL;
37 }
38
39 void
40 _gtk_mount_operation_lookup_context_free (GtkMountOperationLookupContext *context)
41 {
42 }
43
44 gboolean
45 _gtk_mount_operation_lookup_info (GtkMountOperationLookupContext *context,
46                                   GPid                            pid,
47                                   gint                            size_pixels,
48                                   gchar                         **out_name,
49                                   gchar                         **out_command_line,
50                                   GdkPixbuf                     **out_pixbuf)
51 {
52   return FALSE;
53 }
54
55 gboolean
56 _gtk_mount_operation_kill_process (GPid      pid,
57                                    GError  **error)
58 {
59   g_set_error (error,
60                G_IO_ERROR,
61                G_IO_ERROR_NOT_SUPPORTED,
62                _("Cannot kill process with PID %d. Operation is not implemented."),
63                pid);
64   return FALSE;
65 }
66