Commit 0166579a authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

tracker-search-bar: fix -Wswitch-default warnings

parent 6e25f228
...@@ -275,6 +275,10 @@ placement_changed_cb (GpApplet *applet, ...@@ -275,6 +275,10 @@ placement_changed_cb (GpApplet *applet,
self->orient = orientation; self->orient = orientation;
self->size = alloc.height; self->size = alloc.height;
break; break;
default:
g_assert_not_reached ();
break;
} }
applet_queue_draw (self); applet_queue_draw (self);
......
...@@ -720,6 +720,7 @@ category_to_string (TrackerCategory category) ...@@ -720,6 +720,7 @@ category_to_string (TrackerCategory category)
case CATEGORY_ARCHIVE: return _("Archives"); case CATEGORY_ARCHIVE: return _("Archives");
case CATEGORY_BOOKMARK: return _("Bookmarks"); case CATEGORY_BOOKMARK: return _("Bookmarks");
case CATEGORY_WEBSITE: return _("Links"); case CATEGORY_WEBSITE: return _("Links");
default: break;
} }
return _("Other"); return _("Other");
......
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