~ubuntu-branches/ubuntu/lucid/graphviz/lucid-updates

« back to all changes in this revision

Viewing changes to cmd/smyrna/support.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2008-06-19 20:23:23 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619202323-ls23h96ntj9ny94m
Tags: 2.18-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev or python2.5-dev.
  - Mention the correct python version for the python bindings in the
    package description.

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
#  define Q_(String) g_strip_context ((String), gettext (String))
 
19
#  ifdef gettext_noop
 
20
#    define N_(String) gettext_noop (String)
 
21
#  else
 
22
#    define N_(String) (String)
 
23
#  endif
 
24
#else
 
25
#  define textdomain(String) (String)
 
26
#  define gettext(String) (String)
 
27
#  define dgettext(Domain,Message) (Message)
 
28
#  define dcgettext(Domain,Message,Type) (Message)
 
29
#  define bindtextdomain(Domain,Directory) (Domain)
 
30
#  define _(String) (String)
 
31
#  define Q_(String) g_strip_context ((String), (String))
 
32
#  define N_(String) (String)
 
33
#endif
 
34
 
 
35
 
 
36
/*
 
37
 * Public Functions.
 
38
 */
 
39
 
 
40
/*
 
41
 * This function returns a widget in a component created by Glade.
 
42
 * Call it with the toplevel widget in the component (i.e. a window/dialog),
 
43
 * or alternatively any widget in the component, and the name of the widget
 
44
 * you want returned.
 
45
 */
 
46
GtkWidget*  lookup_widget              (GtkWidget       *widget,
 
47
                                        const gchar     *widget_name);
 
48
 
 
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 used in the interface. */
 
59
GtkWidget*  create_pixmap              (GtkWidget       *widget,
 
60
                                        const gchar     *filename);
 
61
 
 
62
/* This is used to create the pixbufs used in the interface. */
 
63
GdkPixbuf*  create_pixbuf              (const gchar     *filename);
 
64
 
 
65
/* This is used to set ATK action descriptions. */
 
66
void        glade_set_atk_action_description (AtkAction       *action,
 
67
                                              const gchar     *action_name,
 
68
                                              const gchar     *description);
 
69
 
 
70
/* These variables define various paths detected at runtime. */
 
71
extern gchar *package_prefix;
 
72
extern gchar *package_data_dir;
 
73
extern gchar *package_locale_dir;
 
74