~ubuntu-branches/ubuntu/dapper/xscreensaver/dapper-updates

« back to all changes in this revision

Viewing changes to driver/demo-Gtk-support.h

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Hildebrandt
  • Date: 2005-04-09 00:06:43 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050409000643-z0abtifbt9s20pcc
Tags: 4.21-3
Patch by Joachim Breitner to check more frequently if DPMS kicked in (closes: #303374, #286664).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * DO NOT EDIT THIS FILE - it is generated by Glade.
 
3
 */
 
4
 
 
5
#ifdef HAVE_CONFIG_H
 
6
#  include <config.h>
 
7
#endif
 
8
 
 
9
#include <gtk/gtk.h>
 
10
 
 
11
/*
 
12
 * Standard gettext macros.
 
13
 */
 
14
#ifdef ENABLE_NLS
 
15
#  include <libintl.h>
 
16
#  undef _
 
17
#  define _(String) dgettext (PACKAGE, String)
 
18
#  ifdef gettext_noop
 
19
#    define N_(String) gettext_noop (String)
 
20
#  else
 
21
#    define N_(String) (String)
 
22
#  endif
 
23
#else
 
24
#  define textdomain(String) (String)
 
25
#  define gettext(String) (String)
 
26
#  define dgettext(Domain,Message) (Message)
 
27
#  define dcgettext(Domain,Message,Type) (Message)
 
28
#  define bindtextdomain(Domain,Directory) (Domain)
 
29
#  define _(String) (String)
 
30
#  define N_(String) (String)
 
31
#endif
 
32
 
 
33
 
 
34
/*
 
35
 * Public Functions.
 
36
 */
 
37
 
 
38
/*
 
39
 * This function returns a widget in a component created by Glade.
 
40
 * Call it with the toplevel widget in the component (i.e. a window/dialog),
 
41
 * or alternatively any widget in the component, and the name of the widget
 
42
 * you want returned.
 
43
 */
 
44
GtkWidget*  lookup_widget              (GtkWidget       *widget,
 
45
                                        const gchar     *widget_name);
 
46
 
 
47
/* get_widget() is deprecated. Use lookup_widget instead. */
 
48
#define get_widget lookup_widget
 
49
 
 
50
/* Use this function to set the directory containing installed pixmaps. */
 
51
void        add_pixmap_directory       (const gchar     *directory);
 
52
 
 
53
 
 
54
/*
 
55
 * Private Functions.
 
56
 */
 
57
 
 
58
/* This is used to create the pixmaps in the interface. */
 
59
GtkWidget*  create_pixmap              (GtkWidget       *widget,
 
60
                                        const gchar     *filename);
 
61