]> Dogcows Code - chaz/openbox/blobdiff - openbox/dock.c
if sm is disabled, there is nothing to shutdown, so don't go trying to free things...
[chaz/openbox] / openbox / dock.c
index 7b92ff5892f2cb12734727b35c0bcb72d930f066..eceb3b99035388bc2e39c8b7aae27d5fc0c46aab 100644 (file)
@@ -313,6 +313,8 @@ void dock_configure()
             dock->y = a->height;
             gravity = SouthEastGravity;
             break;
+        default:
+            g_assert_not_reached();
         }
     }
 
@@ -578,6 +580,8 @@ void dock_app_drag(ObDockApp *app, XMotionEvent *e)
     case OB_ORIENTATION_VERT:
         after = (y > over->h / 2);
         break;
+    default:
+        g_assert_not_reached();
     }
 
     /* remove before doing the it->next! */
This page took 0.020235 seconds and 4 git commands to generate.