aboutsummaryrefslogtreecommitdiff
path: root/src/support.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support.h')
-rw-r--r--src/support.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/support.h b/src/support.h
index 931bc5ad..a32649e5 100644
--- a/src/support.h
+++ b/src/support.h
@@ -15,6 +15,7 @@
15# include <libintl.h> 15# include <libintl.h>
16# undef _ 16# undef _
17# define _(String) dgettext (PACKAGE, String) 17# define _(String) dgettext (PACKAGE, String)
18# define Q_(String) g_strip_context ((String), gettext (String))
18# ifdef gettext_noop 19# ifdef gettext_noop
19# define N_(String) gettext_noop (String) 20# define N_(String) gettext_noop (String)
20# else 21# else
@@ -27,6 +28,7 @@
27# define dcgettext(Domain,Message,Type) (Message) 28# define dcgettext(Domain,Message,Type) (Message)
28# define bindtextdomain(Domain,Directory) (Domain) 29# define bindtextdomain(Domain,Directory) (Domain)
29# define _(String) (String) 30# define _(String) (String)
31# define Q_(String) g_strip_context ((String), (String))
30# define N_(String) (String) 32# define N_(String) (String)
31#endif 33#endif
32 34
@@ -44,8 +46,6 @@
44GtkWidget* lookup_widget (GtkWidget *widget, 46GtkWidget* lookup_widget (GtkWidget *widget,
45 const gchar *widget_name); 47 const gchar *widget_name);
46 48
47/* get_widget() is deprecated. Use lookup_widget instead. */
48#define get_widget lookup_widget
49 49
50/* Use this function to set the directory containing installed pixmaps. */ 50/* Use this function to set the directory containing installed pixmaps. */
51void add_pixmap_directory (const gchar *directory); 51void add_pixmap_directory (const gchar *directory);
@@ -55,7 +55,15 @@ void add_pixmap_directory (const gchar *directory);
55 * Private Functions. 55 * Private Functions.
56 */ 56 */
57 57
58/* This is used to create the pixmaps in the interface. */ 58/* This is used to create the pixmaps used in the interface. */
59GtkWidget* create_pixmap (GtkWidget *widget, 59GtkWidget* create_pixmap (GtkWidget *widget,
60 const gchar *filename); 60 const gchar *filename);
61 61
62/* This is used to create the pixbufs used in the interface. */
63GdkPixbuf* create_pixbuf (const gchar *filename);
64
65/* This is used to set ATK action descriptions. */
66void glade_set_atk_action_description (AtkAction *action,
67 const gchar *action_name,
68 const gchar *description);
69