1
0
mirror of https://gitlab.cvh-server.de/skrause/flashcards.git synced 2026-03-16 07:50:15 +01:00

replace deprecated classes, update code, fix errors, add missing stuff

This commit is contained in:
2026-03-06 15:48:07 +01:00
parent d5c11782d5
commit f3e20967b8
31 changed files with 767 additions and 183 deletions

View File

@@ -1,4 +1,4 @@
#define GETTEXT_PACKAGE "flashcards"
#include "config.h"
#include <gtk/gtk.h>
#include <glib/gi18n.h>
@@ -6,12 +6,11 @@
#include "flashcardsapp.h"
int
main (int argc, char *argv[])
int main(int argc, char *argv[])
{
bindtextdomain (GETTEXT_PACKAGE, "/usr/local/share/locale");
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
return g_application_run (G_APPLICATION (flashcards_app_new ()), argc, argv);
return g_application_run(G_APPLICATION(flashcards_app_new()), argc, argv);
}