parent
f9f2c5328c
commit
6744e730d6
@ -1 +1 @@
|
|||||||
SOURCES/gnome-system-monitor-46.alpha.tar.xz
|
SOURCES/gnome-system-monitor-46.0.tar.xz
|
||||||
|
@ -1 +1 @@
|
|||||||
f32781fb369abc642150e3174326aa919ae06153 SOURCES/gnome-system-monitor-46.alpha.tar.xz
|
9c824e9981085ac5446502f101462abfe5c0dda4 SOURCES/gnome-system-monitor-46.0.tar.xz
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
From 07654d6c5f77631b3d77eafc8eafc9c4238a9ba3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: David King <amigadave@amigadave.com>
|
|
||||||
Date: Mon, 22 Jan 2024 17:57:00 +0000
|
|
||||||
Subject: [PATCH] Fix incompatible pointer type warnings
|
|
||||||
|
|
||||||
Verified against GTK documentation.
|
|
||||||
---
|
|
||||||
src/legacy/gsm_color_button.c | 5 +++--
|
|
||||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/legacy/gsm_color_button.c b/src/legacy/gsm_color_button.c
|
|
||||||
index 367a29ac..1bee747f 100644
|
|
||||||
--- a/src/legacy/gsm_color_button.c
|
|
||||||
+++ b/src/legacy/gsm_color_button.c
|
|
||||||
@@ -369,7 +369,8 @@ gsm_color_button_measure (GtkWidget*,
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
|
||||||
-gsm_color_button_state_flags_changed (GtkWidget *self)
|
|
||||||
+gsm_color_button_state_flags_changed (GtkWidget *self,
|
|
||||||
+ GtkStateFlags)
|
|
||||||
{
|
|
||||||
gtk_widget_queue_draw (self);
|
|
||||||
}
|
|
||||||
@@ -422,7 +423,7 @@ gsm_color_button_released (GtkGestureClick*,
|
|
||||||
GtkColorChooserDialog *cc_dialog;
|
|
||||||
GtkWidget *parent;
|
|
||||||
|
|
||||||
- parent = gtk_widget_get_root (GTK_WIDGET (color_button));
|
|
||||||
+ parent = GTK_WIDGET (gtk_widget_get_root (GTK_WIDGET (color_button)));
|
|
||||||
|
|
||||||
cc_dialog = GTK_COLOR_CHOOSER_DIALOG (gtk_color_chooser_dialog_new (priv->title, GTK_WINDOW (parent)));
|
|
||||||
|
|
||||||
--
|
|
||||||
2.43.0
|
|
||||||
|
|
Loading…
Reference in new issue