Fix compilation warnings

This commit is contained in:
Gaël Bonithon
2021-01-20 19:38:53 +01:00
committed by Simon Steinbeiß
parent 56afa354cf
commit e25b5246b2
5 changed files with 5 additions and 8 deletions

View File

@@ -12,7 +12,6 @@
#endif
#include <glib-object.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <libxfce4ui/libxfce4ui.h>
@@ -79,7 +78,7 @@ combobox_foreach (GtkTreeModel *model,
gtk_tree_model_get_value (model, iter, 0, &prop);
if (g_value_get_int (&prop) == refresh_rate->rate)
if ((guint) g_value_get_int (&prop) == refresh_rate->rate)
{
gtk_combo_box_set_active_iter (GTK_COMBO_BOX (refresh_rate->combobox), iter);
return TRUE;