ports/net/spectrum-tools/patches/patch-spectool_gtk_c

13 lines
369 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: spectool_gtk.c
--- spectool_gtk.c.orig
+++ spectool_gtk.c
@@ -182,7 +182,7 @@ static gboolean main_nodev_menu_button_press(gpointer
GtkWidget *menu;
nb_aux *nbaux = (nb_aux *) aux;
- g_return_if_fail(aux != NULL);
+ g_return_val_if_fail(aux != NULL, FALSE);
if (event->type == GDK_BUTTON_PRESS) {
GdkEventButton *bevent = (GdkEventButton *) event;