]> Pileus Git - ~andy/gtk/blob - gtk/gtkmountoperationprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkmountoperationprivate.h
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 #ifndef __GTK_MOUNT_OPERATION_PRIVATE_H__
27 #define __GTK_MOUNT_OPERATION_PRIVATE_H__
28
29 #include <gio/gio.h>
30 #include <gdk/gdk.h>
31 #include <gdk-pixbuf/gdk-pixbuf.h>
32
33 struct _GtkMountOperationLookupContext;
34 typedef struct _GtkMountOperationLookupContext GtkMountOperationLookupContext;
35
36 GtkMountOperationLookupContext *_gtk_mount_operation_lookup_context_get  (GdkDisplay *display);
37
38 gboolean _gtk_mount_operation_lookup_info         (GtkMountOperationLookupContext *context,
39                                                    GPid                            pid,
40                                                    gint                            size_pixels,
41                                                    gchar                         **out_name,
42                                                    gchar                         **out_command_line,
43                                                    GdkPixbuf                     **out_pixbuf);
44
45 void     _gtk_mount_operation_lookup_context_free (GtkMountOperationLookupContext *context);
46
47 /* throw G_IO_ERROR_FAILED_HANDLED if a helper already reported the error to the user */
48 gboolean _gtk_mount_operation_kill_process (GPid      pid,
49                                             GError  **error);
50
51 #endif /* __GTK_MOUNT_OPERATION_PRIVATE_H__ */