mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix up compiler warnings
This commit is contained in:
parent
e0d9da5a19
commit
c099397369
@ -31,6 +31,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "gtkactiongroup.h"
|
||||
#include "gtkiconfactory.h"
|
||||
#include "gtkstock.h"
|
||||
#include "gtktoggleaction.h"
|
||||
#include "gtkradioaction.h"
|
||||
@ -885,8 +886,6 @@ gtk_action_group_add_toggle_actions_full (GtkActionGroup *action_gro
|
||||
|
||||
if (entries[i].stock_id)
|
||||
{
|
||||
GtkStockItem item;
|
||||
|
||||
if (gtk_icon_factory_lookup_default (entries[i].stock_id))
|
||||
g_object_set (action, "stock-id", entries[i].stock_id, NULL);
|
||||
else
|
||||
@ -1000,8 +999,6 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group
|
||||
|
||||
if (entries[i].stock_id)
|
||||
{
|
||||
GtkStockItem item;
|
||||
|
||||
if (gtk_icon_factory_lookup_default (entries[i].stock_id))
|
||||
g_object_set (action, "stock-id", entries[i].stock_id, NULL);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user