Commit c0993973 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix up compiler warnings

parent e0d9da5a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment