#define g_source_set_static_name(source, name) g_source_set_name ((source), (name))
#endif
+#ifndef I_
+#define I_(string) g_intern_static_string (string)
+#endif
+
#endif /* __GDK__PRIVATE_H__ */
#include "gdkintl.h"
#include "gdkpipeiostreamprivate.h"
#include "gdktexture.h"
+#include "gdk-private.h"
#include <gobject/gvaluecollector.h>
* Emitted when the clipboard changes ownership.
*/
signals[CHANGED] =
- g_signal_new ("changed",
+ g_signal_new (I_("changed"),
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkClipboardClass, changed),
#include "gdkclipboard.h"
#include "gdkcontentformats.h"
#include "gdkintl.h"
+#include "gdk-private.h"
/**
* GdkContentProvider:
* Emitted whenever the content provided by this provider has changed.
*/
signals[CONTENT_CHANGED] =
- g_signal_new ("content-changed",
+ g_signal_new (I_("content-changed"),
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkContentProviderClass, content_changed),
#include "gdkpaintable.h"
#include "gdksnapshotprivate.h"
+#include "gdk-private.h"
/* HACK: So we don't need to include any (not-yet-created) GSK or GTK headers */
void gtk_snapshot_push_debug (GdkSnapshot *snapshot,
* the icon theme for an icon changing.
*/
signals[INVALIDATE_CONTENTS] =
- g_signal_new ("invalidate-contents",
+ g_signal_new (I_("invalidate-contents"),
GDK_TYPE_PAINTABLE,
G_SIGNAL_RUN_LAST,
0,
* the contents of a toplevel surface being resized.
*/
signals[INVALIDATE_SIZE] =
- g_signal_new ("invalidate-size",
+ g_signal_new (I_("invalidate-size"),
GDK_TYPE_PAINTABLE,
G_SIGNAL_RUN_LAST,
0,
#include "gdkdisplay.h"
#include "gdkenumtypes.h"
#include "gdkintl.h"
+#include "gdk-private.h"
#include <graphene-gobject.h>
#include <math.h>
* will result in an arbitrary size being used as a result.
*/
signals[COMPUTE_SIZE] =
- g_signal_new ("compute-size",
+ g_signal_new (I_("compute-size"),
GDK_TYPE_TOPLEVEL,
G_SIGNAL_RUN_LAST,
0,