summaryrefslogtreecommitdiff
path: root/cut-n-paste/toolbar-editor
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2017-12-31 20:26:39 +0100
committerPablo Barciela <[email protected]>2017-12-31 20:26:39 +0100
commit373d4482d259da0a58e6446409ecb6010dc0d9ca (patch)
tree355e2e0fc4c76e4d9f4a827bd694d04b6111fe0f /cut-n-paste/toolbar-editor
parent192f09840f189fcdea738b9cde964ba309ca4266 (diff)
downloadeom-373d4482d259da0a58e6446409ecb6010dc0d9ca.tar.bz2
eom-373d4482d259da0a58e6446409ecb6010dc0d9ca.tar.xz
egg-editable-toolbar.c/egg-toolbars-model.c: drop unused variables
Diffstat (limited to 'cut-n-paste/toolbar-editor')
-rw-r--r--cut-n-paste/toolbar-editor/egg-editable-toolbar.c3
-rw-r--r--cut-n-paste/toolbar-editor/egg-toolbars-model.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
index 66e40cd..a704a77 100644
--- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
+++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
@@ -1730,9 +1730,6 @@ new_pixbuf_from_widget (GtkWidget *widget)
GtkWidget *window;
GdkPixbuf *pixbuf;
gint icon_height;
- GdkScreen *screen;
-
- screen = gtk_widget_get_screen (widget);
if (!gtk_icon_size_lookup (GTK_ICON_SIZE_LARGE_TOOLBAR,
NULL,
diff --git a/cut-n-paste/toolbar-editor/egg-toolbars-model.c b/cut-n-paste/toolbar-editor/egg-toolbars-model.c
index 0354950..ba0ad79 100644
--- a/cut-n-paste/toolbar-editor/egg-toolbars-model.c
+++ b/cut-n-paste/toolbar-editor/egg-toolbars-model.c
@@ -675,10 +675,6 @@ static void
egg_toolbars_model_class_init (EggToolbarsModelClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- volatile GType flags_type; /* work around gcc's optimiser */
-
- /* make sure the flags type is known */
- flags_type = EGG_TYPE_TB_MODEL_FLAGS;
object_class->finalize = egg_toolbars_model_finalize;