← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~bratsche/appmenu-gtk/check-for-empty-hashtable into lp:appmenu-gtk

 

Cody Russell has proposed merging lp:~bratsche/appmenu-gtk/check-for-empty-hashtable into lp:appmenu-gtk.

Requested reviews:
  Canonical Desktop Experience Team (canonical-dx-team)

-- 
https://code.launchpad.net/~bratsche/appmenu-gtk/check-for-empty-hashtable/+merge/33934
Your team ayatana-commits is subscribed to branch lp:appmenu-gtk.
=== modified file 'src/bridge.c'
--- src/bridge.c	2010-08-26 20:29:39 +0000
+++ src/bridge.c	2010-08-27 17:26:37 +0000
@@ -991,6 +991,9 @@
 
   if (rebuild_ids != NULL)
     {
+      if (g_hash_table_size (rebuild_ids) == 0)
+        return;
+
       id = GPOINTER_TO_UINT (g_hash_table_lookup (rebuild_ids, toplevel));
 
       if (id > 0)


Follow ups