mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
narrowing the GDK include guard to #if defined(HAVE_GTK3), and
removing legacy HAVE_GTK2 / HAVE_GTK toolkit label branches from sysinfo_detect_toolkit(),
narrowing GDK display probing guard in sysinfo_detect_display_backend() to GTK3-only.
Updated Windows and macOS sysinfo backends to remove HAVE_GTK2 / HAVE_GTK fallback labels so sysinfo_detect_toolkit() now returns only "GTK3" (or NULL).
Updated API docs for sysinfo_backend_get_ui() to remove the outdated "GTK2 / X11" example so comments match runtime behavior.
Removed the deprecated Meson option option('gtk3', ... deprecated: true) from meson_options.txt, leaving gtk-frontend/text-frontend options intact.
Removed -Dgtk3=true from Debian’s Meson configure flags in debian/rules (override_dh_auto_configure).
Removed remaining active -Dgtk3=true packaging consumers in Flatpak config:
dropped it from config-opts
dropped -Dgtk3=true from cflags.
Removed -Dgtk3=true from Solus packaging Meson configure args.
Committed changes on the current branch (e018bfd) and created a PR record via the make_pr tool.
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/*
|
|
* SysInfo - sysinfo plugin for ZoiteChat
|
|
* Copyright (c) 2015 Patrick Griffis.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
|
|
#ifndef SYSINFO_BACKEND_H
|
|
#define SYSINFO_BACKEND_H
|
|
|
|
char *sysinfo_backend_get_os(void);
|
|
char *sysinfo_backend_get_disk(void);
|
|
char *sysinfo_backend_get_memory(void);
|
|
char *sysinfo_backend_get_cpu(void);
|
|
char *sysinfo_backend_get_gpu(void);
|
|
char *sysinfo_backend_get_sound(void);
|
|
char *sysinfo_backend_get_uptime(void);
|
|
char *sysinfo_backend_get_network(void);
|
|
|
|
/*
|
|
* Short description of the UI/toolkit + display backend.
|
|
* Examples: "GTK3 / Wayland", "Windows / GTK3".
|
|
*/
|
|
char *sysinfo_backend_get_ui(void);
|
|
|
|
#endif
|