Fix up compiler warnings
This commit is contained in:
		| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen