Skip to content

Instantly share code, notes, and snippets.

View feliwir's full-sized avatar
👨‍💻
Coding along

Stephan Vedder feliwir

👨‍💻
Coding along
  • mbits imaging GmbH
  • Germany
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0" />
<object class="GListStore" id="image_list">
<property name="item-type">VoyagerExifImage</property>
</object>
<menu id="primary-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Open</attribute>
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0" />
<object class="GListStore" id="image_list">
<property name="item-type">VoyagerExifImage</property>
</object>
<menu id="primary-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Open</attribute>
static void
overwrite_dialog_response_cb (GtkDialog *dialog, int response, GTask *task)
{
gboolean overwrite;
overwrite = response == GTK_RESPONSE_OK;
GError *error = NULL;
GFile *file = g_task_get_task_data (task);
if (overwrite) {
g_file_delete (file, NULL, &error);
/*
* Copyright (C) 2022 Stephan Vedder <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
#include "voyager-image.h"
#include <gexiv2/gexiv2.h>
#include <graphene.h>
#include <gtk/gtk.h>
struct _VoyagerImage
{
GObject parent_instance;
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0" />
<menu id="primary-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Open</attribute>
<attribute name="action">win.open</attribute>
</item>
</section>
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0" />
<menu id="primary-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Open</attribute>
<attribute name="action">win.open</attribute>
</item>
</section>
@feliwir
feliwir / log.txt
Last active February 22, 2022 14:35
HEAD is now at ae4eacf1 Release 1.21.1
[2/9] Performing update step for 'alsoft-populate'
[4/9] No patch step for 'alsoft-populate'
[5/9] No configure step for 'alsoft-populate'
[6/9] No build step for 'alsoft-populate'
[7/9] No install step for 'alsoft-populate'
[8/9] No test step for 'alsoft-populate'
[9/9] Completed 'alsoft-populate'
-- Looking for posix_memalign
-- Looking for posix_memalign - found
==========
VULKANINFO
==========
Vulkan Instance Version: 1.2.176
Instance Extensions: count = 11
===============================
VK_EXT_debug_report : extension revision 10
prettifyJson(obj)
{
var result = ""
for (const [key, value] of Object.entries(obj)) {
if(key == "blabla")
result += "SchönesBlabla: " + value;
else
result += key+ ": " + value
result += "\n";