~walkerlee/totem/pre-interview

« back to all changes in this revision

Viewing changes to src/plugins/screenshot/gnome-screenshot-widget.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-05-26 00:07:51 UTC
  • mfrom: (1.6.1) (24.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130526000751-kv8ap3x1di4qq8j2
Tags: 3.8.2-0ubuntu1
* Sync with Debian. Remaining changes: 
* debian/control.in:
  - Drop build-depends on libepc-ui-dev and libgrilo-0.2-dev (in universe)
  - Drop libxtst-dev build-depends so that the (redundant) fake key presses
    for inhibiting the screensaver are disabled (LP: #1007438)
  - Build-depend on libzeitgeist-dev
  - Suggest rather than recommend gstreamer components in universe
  - Add totem-plugins-extra
  - Add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - Refer to Firefox in totem-mozilla description instead of Iceweasel
  - Don't have totem-mozilla recommend any particular browser
  - Drop obsolete python library dependencies since iplayer is no longer
    included
* debian/totem-common.install, debian/source_totem.py:
  - Install Ubuntu apport debugging hook
* debian/totem-plugins-extra.install:
  - Universe plugins split out of totem-plugins (currently only gromit)
* debian/totem-plugins.install:    
  - Skip the plugins split to -extra and add the zeitgeist plugin
* debian/rules:
  - Build with --fail-missing, to ensure we install everything. 
    + Ignore libtotem.{,l}a since we delibrately don't install these.
  - Re-enable hardening, make sure both PIE and BINDNOW are used
    by setting hardening=+all. (LP: #1039604)
* debian/patches/91_quicklist_entries.patch:
  - Add static quicklist
* debian/patches/92_gst-plugins-good.patch:
  - Build without unnecessary gstreamer1.0-bad dependency
* debian/patches/93_grilo_optional.patch:
  - Allow building without grilo while grilo MIR is still pending
* debian/patches/correct_desktop_mimetypes.patch:
  - Don't list the mimetypes after the unity lists
* debian/patches/revert_shell_menu.patch: 
  - revert the use of a shell menu until indicator-appmenu can handle
    the mixed shell/traditional menus itself
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
 
/*
3
 
 * GNOME Screenshot widget
4
 
 * Copyright (C) 2001-2006  Jonathan Blandford <jrb@alum.mit.edu>
5
 
 * Copyright (C) Philip Withnall 2009 <philip@tecnocode.co.uk>
6
 
 * 
7
 
 * GNOME Screenshot widget is free software: you can redistribute it and/or modify
8
 
 * it under the terms of the GNU General Public License as published by
9
 
 * the Free Software Foundation, either version 2 of the License, or
10
 
 * (at your option) any later version.
11
 
 *
12
 
 * GNOME Screenshot widget is distributed in the hope that it will be useful,
13
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
 * GNU General Public License for more details.
16
 
 *
17
 
 * You should have received a copy of the GNU General Public License
18
 
 * along with GNOME Screenshot widget.  If not, see <http://www.gnu.org/licenses/>.
19
 
 *
20
 
 * The Totem project hereby grant permission for non-GPL compatible GStreamer
21
 
 * plugins to be used and distributed together with GStreamer and Totem. This
22
 
 * permission are above and beyond the permissions granted by the GPL license
23
 
 * Totem is covered by.
24
 
 *
25
 
 * Monday 10th August 2009: Philip Withnall: Add exception clause.
26
 
 * Permission from the previous authors granted via e-mail.
27
 
 */
28
 
 
29
 
#ifndef GNOME_SCREENSHOT_WIDGET_H
30
 
#define GNOME_SCREENSHOT_WIDGET_H
31
 
 
32
 
#include <glib.h>
33
 
#include <glib-object.h>
34
 
#include <gtk/gtk.h>
35
 
 
36
 
G_BEGIN_DECLS
37
 
 
38
 
#define GNOME_TYPE_SCREENSHOT_WIDGET            (gnome_screenshot_widget_get_type ())
39
 
#define GNOME_SCREENSHOT_WIDGET(o)              (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_TYPE_SCREENSHOT_WIDGET, GnomeScreenshotWidget))
40
 
#define GNOME_SCREENSHOT_WIDGET_CLASS(k)        (G_TYPE_CHECK_CLASS_CAST((k), GNOME_TYPE_SCREENSHOT_WIDGET, GnomeScreenshotWidgetClass))
41
 
#define GNOME_IS_SCREENSHOT_WIDGET(o)           (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_TYPE_SCREENSHOT_WIDGET))
42
 
#define GNOME_IS_SCREENSHOT_WIDGET_CLASS(k)     (G_TYPE_CHECK_CLASS_TYPE ((k), GNOME_TYPE_SCREENSHOT_WIDGET))
43
 
#define GNOME_SCREENSHOT_WIDGET_GET_CLASS(o)    (G_TYPE_INSTANCE_GET_CLASS ((o), GNOME_TYPE_SCREENSHOT_WIDGET, GnomeScreenshotWidgetClass))
44
 
 
45
 
typedef struct _GnomeScreenshotWidgetPrivate    GnomeScreenshotWidgetPrivate;
46
 
 
47
 
typedef struct {
48
 
        GtkBox parent;
49
 
        GnomeScreenshotWidgetPrivate *priv;
50
 
} GnomeScreenshotWidget;
51
 
 
52
 
typedef struct {
53
 
        GtkBoxClass parent;
54
 
} GnomeScreenshotWidgetClass;
55
 
 
56
 
GType gnome_screenshot_widget_get_type (void) G_GNUC_CONST;
57
 
 
58
 
GtkWidget *gnome_screenshot_widget_new (const gchar *interface_filename, GdkPixbuf *screenshot,
59
 
                                        const gchar *initial_uri) G_GNUC_WARN_UNUSED_RESULT;
60
 
 
61
 
void gnome_screenshot_widget_focus_entry (GnomeScreenshotWidget *self);
62
 
gchar *gnome_screenshot_widget_get_uri (GnomeScreenshotWidget *self) G_GNUC_WARN_UNUSED_RESULT;
63
 
gchar *gnome_screenshot_widget_get_folder (GnomeScreenshotWidget *self) G_GNUC_WARN_UNUSED_RESULT;
64
 
GdkPixbuf *gnome_screenshot_widget_get_screenshot (GnomeScreenshotWidget *self);
65
 
 
66
 
const gchar *gnome_screenshot_widget_get_temporary_filename (GnomeScreenshotWidget *self);
67
 
void gnome_screenshot_widget_set_temporary_filename (GnomeScreenshotWidget *self, const gchar *temporary_filename);
68
 
 
69
 
G_END_DECLS
70
 
 
71
 
#endif /* !GNOME_SCREENSHOT_WIDGET_H */