Debian Codegraph @

testsuite/gdk/clipboard-client.c

raw symbols SCIP
1 #cxx . . $ `<file>/testsuite/gdk/clipboard-client.c`/include <gtk/gtk.h>cxx . . $ `<file>/gtk/gtk.h`/
2
3 #ifdef GDK_WINDOWING_WAYLANDcxx . . $ `build/gdk/gdkconfig.h:17:9`!
4 #include "wayland/gdkwayland.h"cxx . . $ `<file>/gdk/wayland/gdkwayland.h`/
5 #endif
6
7 #ifdef G_OS_WIN32
8 #include <io.h>
9 #include <process.h>
10 #endif
11
12 G_GNUC_NORETURNcxx . . $ `<external>/12741050725406041920/gmacros.h:629:9`! static void
13 got_string_cbcxx . . $ got_string_cb(f0c3637af14c49fb). (GObjectcxx . . $ GObject# *source,
14 GAsyncResultcxx . . $ GAsyncResult# *result,
15 gpointercxx . . $ gpointer# data)
16 {
17 GdkClipboardcxx . . $ GdkClipboard# *clipboard = GDK_CLIPBOARDcxx . . $ `gdk/gdkclipboard.h:30:9`! (source);
18 GErrorcxx . . $ GError# *error = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
19 char *text;
20
21 text = gdk_clipboard_read_text_finishcxx . . $ gdk_clipboard_read_text_finish(54092aaf66d91230). (clipboard, result, &error);
22 if (text)
23 {
24 g_printcxx . . $ g_print(326aeb464d16410c). ("%s", text);
25 g_freecxx . . $ g_free(5d22bdacc48458e8). (text);
26 }
27 else
28 {
29 g_printcxx . . $ g_print(326aeb464d16410c). ("ERROR: %s", error->messagecxx . . $ _GError#message.);
30 g_clear_errorcxx . . $ g_clear_error(19f343512d040fc2). (&error);
31 }
32
33 exitcxx . . $ exit(3ca292c338df9bb3). (0);
34 }
35
36 G_GNUC_NORETURNcxx . . $ `<external>/12741050725406041920/gmacros.h:629:9`! static void
37 got_text_cbcxx . . $ got_text_cb(f0c3637af14c49fb). (GObjectcxx . . $ GObject# *source,
38 GAsyncResultcxx . . $ GAsyncResult# *result,
39 gpointercxx . . $ gpointer# data)
40 {
41 GdkClipboardcxx . . $ GdkClipboard# *clipboard = GDK_CLIPBOARDcxx . . $ `gdk/gdkclipboard.h:30:9`! (source);
42 GErrorcxx . . $ GError# *error = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
43 char *text;
44
45 text = gdk_clipboard_read_text_finishcxx . . $ gdk_clipboard_read_text_finish(54092aaf66d91230). (clipboard, result, &error);
46 if (text)
47 {
48 int fd;
49 char *name;
50
51 fd = g_file_open_tmpcxx . . $ g_file_open_tmp(ea2188f15f3814bb). ("XXXXXX.out", &name, &error);
52 if (error)
53 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("Failed to create tmp file: %s", error->message);
54 closecxx . . $ close(7864480464b09eea). (fd);
55 g_file_set_contentscxx . . $ g_file_set_contents(646d35277fa121ec). (name, text, -1, &error);
56 g_printcxx . . $ g_print(326aeb464d16410c). ("%s", name);
57 g_freecxx . . $ g_free(5d22bdacc48458e8). (text);
58 g_freecxx . . $ g_free(5d22bdacc48458e8). (name);
59 }
60 else
61 {
62 g_printcxx . . $ g_print(326aeb464d16410c). ("ERROR: %s", error->messagecxx . . $ _GError#message.);
63 g_clear_errorcxx . . $ g_clear_error(19f343512d040fc2). (&error);
64 }
65
66 exitcxx . . $ exit(3ca292c338df9bb3). (0);
67 }
68
69 G_GNUC_NORETURNcxx . . $ `<external>/12741050725406041920/gmacros.h:629:9`! static void
70 got_texture_cbcxx . . $ got_texture_cb(f0c3637af14c49fb). (GObjectcxx . . $ GObject# *source,
71 GAsyncResultcxx . . $ GAsyncResult# *result,
72 gpointercxx . . $ gpointer# data)
73 {
74 GdkClipboardcxx . . $ GdkClipboard# *clipboard = GDK_CLIPBOARDcxx . . $ `gdk/gdkclipboard.h:30:9`! (source);
75 GErrorcxx . . $ GError# *error = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
76 GdkTexturecxx . . $ GdkTexture# *texture;
77
78 texture = gdk_clipboard_read_texture_finishcxx . . $ gdk_clipboard_read_texture_finish(7c9388a15aadabae). (clipboard, result, &error);
79 if (texture)
80 {
81 int fd;
82 char *name;
83
84 fd = g_file_open_tmpcxx . . $ g_file_open_tmp(ea2188f15f3814bb). ("XXXXXX.out", &name, &error);
85 if (error)
86 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("Failed to create tmp file: %s", error->message);
87 closecxx . . $ close(7864480464b09eea). (fd);
88 gdk_texture_save_to_pngcxx . . $ gdk_texture_save_to_png(603d784a970d124a). (texture, name);
89 g_printcxx . . $ g_print(326aeb464d16410c). ("%s", name);
90 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (texture);
91 g_freecxx . . $ g_free(5d22bdacc48458e8). (name);
92 }
93 else
94 {
95 g_printcxx . . $ g_print(326aeb464d16410c). ("ERROR: %s", error->messagecxx . . $ _GError#message.);
96 g_clear_errorcxx . . $ g_clear_error(19f343512d040fc2). (&error);
97 }
98
99 exitcxx . . $ exit(3ca292c338df9bb3). (0);
100 }
101
102 G_GNUC_NORETURNcxx . . $ `<external>/12741050725406041920/gmacros.h:629:9`! static void
103 got_filecxx . . $ got_file(f0c3637af14c49fb). (GObjectcxx . . $ GObject# *source,
104 GAsyncResultcxx . . $ GAsyncResult# *result,
105 gpointercxx . . $ gpointer# data)
106 {
107 GdkClipboardcxx . . $ GdkClipboard# *clipboard = GDK_CLIPBOARDcxx . . $ `gdk/gdkclipboard.h:30:9`! (source);
108 GErrorcxx . . $ GError# *error = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
109 const GValuecxx . . $ GValue# *value;
110
111 value = gdk_clipboard_read_value_finishcxx . . $ gdk_clipboard_read_value_finish(708330c606b78864). (clipboard, result, &error);
112 if (value)
113 {
114 GFilecxx . . $ GFile# *file = g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce). (value);
115 char *path = g_file_get_pathcxx . . $ g_file_get_path(bd69fa69840f32a9). (file);
116 g_printcxx . . $ g_print(326aeb464d16410c). ("%s", path);
117 g_freecxx . . $ g_free(5d22bdacc48458e8). (path);
118 }
119 else
120 {
121 g_printcxx . . $ g_print(326aeb464d16410c). ("ERROR: %s", error->messagecxx . . $ _GError#message.);
122 g_clear_errorcxx . . $ g_clear_error(19f343512d040fc2). (&error);
123 }
124
125 exitcxx . . $ exit(3ca292c338df9bb3). (0);
126 }
127
128 G_GNUC_NORETURNcxx . . $ `<external>/12741050725406041920/gmacros.h:629:9`! static void
129 got_filescxx . . $ got_files(f0c3637af14c49fb). (GObjectcxx . . $ GObject# *source,
130 GAsyncResultcxx . . $ GAsyncResult# *result,
131 gpointercxx . . $ gpointer# data)
132 {
133 GdkClipboardcxx . . $ GdkClipboard# *clipboard = GDK_CLIPBOARDcxx . . $ `gdk/gdkclipboard.h:30:9`! (source);
134 GErrorcxx . . $ GError# *error = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
135 const GValuecxx . . $ GValue# *value;
136
137 value = gdk_clipboard_read_value_finishcxx . . $ gdk_clipboard_read_value_finish(708330c606b78864). (clipboard, result, &error);
138 if (value)
139 {
140 GSListcxx . . $ GSList# *files = g_value_get_boxedcxx . . $ g_value_get_boxed(e12dff36056c2cce). (value);
141 for (GSListcxx . . $ GSList# *l = files; l; l = l->nextcxx . . $ _GSList#next.)
142 {
143 GFilecxx . . $ GFile# *file = l->datacxx . . $ _GSList#data.;
144 char *path = g_file_get_pathcxx . . $ g_file_get_path(bd69fa69840f32a9). (file);
145 if (l != files)
146 g_printcxx . . $ g_print(326aeb464d16410c). (":");
147 g_printcxx . . $ g_print(326aeb464d16410c). ("%s", path);
148 g_freecxx . . $ g_free(5d22bdacc48458e8). (path);
149 }
150 }
151 else
152 {
153 g_printcxx . . $ g_print(326aeb464d16410c). ("ERROR: %s", error->messagecxx . . $ _GError#message.);
154 g_clear_errorcxx . . $ g_clear_error(19f343512d040fc2). (&error);
155 }
156
157 exitcxx . . $ exit(3ca292c338df9bb3). (0);
158 }
159
160 G_GNUC_NORETURNcxx . . $ `<external>/12741050725406041920/gmacros.h:629:9`! static void
161 got_colorcxx . . $ got_color(f0c3637af14c49fb). (GObjectcxx . . $ GObject# *source,
162 GAsyncResultcxx . . $ GAsyncResult# *result,
163 gpointercxx . . $ gpointer# data)
164 {
165 GdkClipboardcxx . . $ GdkClipboard# *clipboard = GDK_CLIPBOARDcxx . . $ `gdk/gdkclipboard.h:30:9`! (source);
166 GErrorcxx . . $ GError# *error = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
167 const GValuecxx . . $ GValue# *value;
168
169 value = gdk_clipboard_read_value_finishcxx . . $ gdk_clipboard_read_value_finish(708330c606b78864). (clipboard, result, &error);
170 if (value)
171 {
172 GdkRGBAcxx . . $ GdkRGBA# *color = g_value_get_boxedcxx . . $ g_value_get_boxed(e12dff36056c2cce). (value);
173 char *s = gdk_rgba_to_stringcxx . . $ gdk_rgba_to_string(48aa22ea2de6087c). (color);
174 g_printcxx . . $ g_print(326aeb464d16410c). ("%s", s);
175 g_freecxx . . $ g_free(5d22bdacc48458e8). (s);
176 }
177 else
178 {
179 g_printcxx . . $ g_print(326aeb464d16410c). ("ERROR: %s", error->messagecxx . . $ _GError#message.);
180 g_clear_errorcxx . . $ g_clear_error(19f343512d040fc2). (&error);
181 }
182
183 exitcxx . . $ exit(3ca292c338df9bb3). (0);
184 }
185
186 static const char *actioncxx . . $ action.;
187 static const char *typecxx . . $ type.;
188 static const char *valuecxx . . $ value.;
189 static gulongcxx . . $ gulong# handlercxx . . $ handler.;
190
191 static void
192 do_itcxx . . $ do_it(89706f8943b9e738). (GObjectcxx . . $ GObject# *object,
193 GParamSpeccxx . . $ GParamSpec# *pspec)
194 {
195 GdkClipboardcxx . . $ GdkClipboard# *clipboard;
196
197 if (object)
198 g_signal_handler_disconnectcxx . . $ g_signal_handler_disconnect(5500c4293b1bbef0). (object, handlercxx . . $ handler.);
199
200 clipboard = gdk_display_get_clipboardcxx . . $ gdk_display_get_clipboard(d64e200b8dbcc2a2). (gdk_display_get_defaultcxx . . $ gdk_display_get_default(b31d93ef98fc5572). ());
201
202 if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (actioncxx . . $ action., "info") == 0)
203 {
204 GdkContentFormatscxx . . $ GdkContentFormats# *formats;
205 char *s;
206
207 formats = gdk_clipboard_get_formatscxx . . $ gdk_clipboard_get_formats(cdb13c78b99f48d7). (clipboard);
208 s = gdk_content_formats_to_stringcxx . . $ gdk_content_formats_to_string(8ae65d7319c807a7). (formats);
209 g_printcxx . . $ g_print(326aeb464d16410c). ("%s\n", s);
210 g_freecxx . . $ g_free(5d22bdacc48458e8). (s);
211 }
212 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (actioncxx . . $ action., "set") == 0)
213 {
214 GdkContentFormatscxx . . $ GdkContentFormats# *formats;
215 char *s;
216
217 if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "string") == 0)
218 {
219 gdk_clipboard_set_textcxx . . $ gdk_clipboard_set_text(cd5df9b714d66581). (clipboard, valuecxx . . $ value.);
220 }
221 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "text") == 0)
222 {
223 char *contents;
224 gsizecxx . . $ gsize# len;
225
226 if (!g_file_get_contentscxx . . $ g_file_get_contents(295e1f4744034d8a). (valuecxx . . $ value., &contents, &len, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!))
227 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("Failed to read %s\n", value);
228
229 gdk_clipboard_set_textcxx . . $ gdk_clipboard_set_text(cd5df9b714d66581). (clipboard, contents);
230 g_freecxx . . $ g_free(5d22bdacc48458e8). (contents);
231 }
232 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "image") == 0)
233 {
234 GFilecxx . . $ GFile# *file;
235 GdkTexturecxx . . $ GdkTexture# *texture;
236
237 file = g_file_new_for_commandline_argcxx . . $ g_file_new_for_commandline_arg(ba1fd5950b7d7bd5). (valuecxx . . $ value.);
238 texture = gdk_texture_new_from_filecxx . . $ gdk_texture_new_from_file(75d6ad717551ba72). (file, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
239 if (!texture)
240 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("Failed to read %s\n", value);
241
242 gdk_clipboard_set_texturecxx . . $ gdk_clipboard_set_texture(b03994345cbc40a). (clipboard, texture);
243 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (texture);
244 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (file);
245 }
246 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "file") == 0)
247 {
248 GFilecxx . . $ GFile# *file;
249
250 file = g_file_new_for_commandline_argcxx . . $ g_file_new_for_commandline_arg(ba1fd5950b7d7bd5). (valuecxx . . $ value.);
251 gdk_clipboard_setcxx . . $ gdk_clipboard_set(bba2fd18b808f219). (clipboard, G_TYPE_FILEcxx . . $ `<external>/13962853800498659056/gfile.h:34:9`!, file);
252 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (file);
253 }
254 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "files") == 0)
255 {
256 char **strv;
257 GSListcxx . . $ GSList# *files;
258
259 strv = g_strsplitcxx . . $ g_strsplit(656a2b498280081). (valuecxx . . $ value., ":", 0);
260
261 files = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
262 for (int i = 0; strv[i]; i++)
263 files = g_slist_appendcxx . . $ g_slist_append(6eb923d8c45a5456). (files, g_file_new_for_commandline_argcxx . . $ g_file_new_for_commandline_arg(ba1fd5950b7d7bd5). (strv[i]));
264
265 gdk_clipboard_setcxx . . $ gdk_clipboard_set(bba2fd18b808f219). (clipboard, GDK_TYPE_FILE_LISTcxx . . $ `gdk/gdkcontentformats.h:113:9`!, files);
266
267 g_slist_free_fullcxx . . $ g_slist_free_full(5c74ad7c36eb6b1f). (files, g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).);
268 g_strfreevcxx . . $ g_strfreev(3ed91490e421178f). (strv);
269 }
270 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "color") == 0)
271 {
272 GdkRGBAcxx . . $ GdkRGBA# color;
273
274 gdk_rgba_parsecxx . . $ gdk_rgba_parse(482ef11efa4439a6). (&color, valuecxx . . $ value.);
275 gdk_clipboard_setcxx . . $ gdk_clipboard_set(bba2fd18b808f219). (clipboard, GDK_TYPE_RGBAcxx . . $ `gdk/gdkrgba.h:43:9`!, &color);
276 }
277 else
278 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("can't set %s", type);
279
280 formats = gdk_clipboard_get_formatscxx . . $ gdk_clipboard_get_formats(cdb13c78b99f48d7). (clipboard);
281 s = gdk_content_formats_to_stringcxx . . $ gdk_content_formats_to_string(8ae65d7319c807a7). (formats);
282 g_printcxx . . $ g_print(326aeb464d16410c). ("%s\n", s);
283 g_freecxx . . $ g_free(5d22bdacc48458e8). (s);
284 }
285 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (actioncxx . . $ action., "get") == 0)
286 {
287 if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "string") == 0)
288 {
289 gdk_clipboard_read_text_asynccxx . . $ gdk_clipboard_read_text_async(4aa0f14124bbed7e). (clipboard, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, got_string_cbcxx . . $ got_string_cb(f0c3637af14c49fb)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
290 }
291 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "text") == 0)
292 {
293 gdk_clipboard_read_text_asynccxx . . $ gdk_clipboard_read_text_async(4aa0f14124bbed7e). (clipboard, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, got_text_cbcxx . . $ got_text_cb(f0c3637af14c49fb)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
294 }
295 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "image") == 0)
296 {
297 gdk_clipboard_read_texture_asynccxx . . $ gdk_clipboard_read_texture_async(4aa0f14124bbed7e). (clipboard, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, got_texture_cbcxx . . $ got_texture_cb(f0c3637af14c49fb)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
298 }
299 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "file") == 0)
300 {
301 gdk_clipboard_read_value_asynccxx . . $ gdk_clipboard_read_value_async(c49ccd03e6b586be). (clipboard, G_TYPE_FILEcxx . . $ `<external>/13962853800498659056/gfile.h:34:9`!, 0, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, got_filecxx . . $ got_file(f0c3637af14c49fb)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
302 }
303 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "files") == 0)
304 {
305 gdk_clipboard_read_value_asynccxx . . $ gdk_clipboard_read_value_async(c49ccd03e6b586be). (clipboard, GDK_TYPE_FILE_LISTcxx . . $ `gdk/gdkcontentformats.h:113:9`!, 0, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, got_filescxx . . $ got_files(f0c3637af14c49fb)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
306 }
307 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (typecxx . . $ type., "color") == 0)
308 {
309 gdk_clipboard_read_value_asynccxx . . $ gdk_clipboard_read_value_async(c49ccd03e6b586be). (clipboard, GDK_TYPE_RGBAcxx . . $ `gdk/gdkrgba.h:43:9`!, 0, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, got_colorcxx . . $ got_color(f0c3637af14c49fb)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
310 }
311 else
312 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("can't get %s", type);
313 }
314 else
315 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("can only set, get or info");
316 }
317
318 int
319 maincxx . . $ main(afcd3168fc1188a4). (int argc, char *argv[])
320 {
321 gbooleancxx . . $ gboolean# done = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!;
322
323 if (argc < 2)
324 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("too few arguments");
325
326 actioncxx . . $ action. = argv[1];
327
328 if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (actioncxx . . $ action., "info") == 0)
329 {
330 }
331 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (actioncxx . . $ action., "set") == 0)
332 {
333 if (argc < 4)
334 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("too few arguments for set");
335
336 typecxx . . $ type. = argv[2];
337 valuecxx . . $ value. = argv[3];
338 }
339 else if (strcmpcxx . . $ strcmp(5ae29d726ae57f88). (actioncxx . . $ action., "get") == 0)
340 {
341 if (argc < 3)
342 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("too few arguments for get");
343
344 typecxx . . $ type. = argv[2];
345 }
346 else
347 g_errorcxx . . $ `<external>/5169755362661750954/gmessages.h:328:9`! ("can only set or get");
348
349 gtk_initcxx . . $ gtk_init(49f6e7a06ebc5aa8). ();
350
351 /* Don't wait for a window manager to give us focus when
352 * we may be running on bare wm-less X.
353 */
354 #ifdef GDK_WINDOWING_WAYLANDcxx . . $ `build/gdk/gdkconfig.h:17:9`!
355 if (GDK_IS_WAYLAND_DISPLAYcxx . . $ `gdk/wayland/gdkwaylanddisplay.h:40:9`! (gdk_display_get_default ()))
356 {
357 GtkWidgetcxx . . $ GtkWidget# *window;
358
359 window = gtk_window_newcxx . . $ gtk_window_new(2369ce5e9f2c7dfd). ();
360 gtk_window_presentcxx . . $ gtk_window_present(f2417dd135ed86f3). (GTK_WINDOWcxx . . $ `gtk/gtkwindow.h:39:9`! (window));
361 handlercxx . . $ handler. = g_signal_connectcxx . . $ `<external>/15952772511652638895/gsignal.h:548:9`! (window, "notify::is-active", G_CALLBACKcxx . . $ `<external>/16473872192229286895/gclosure.h:73:9`! (do_it), NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
362 }
363 else
364 #endif
365 do_itcxx . . $ do_it(89706f8943b9e738). (NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
366
367 while (!done)
368 g_main_context_iterationcxx . . $ g_main_context_iteration(53f508c65b8b33ab). (NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!);
369
370 return 0;
371 }