~ubuntu-branches/ubuntu/saucy/network-manager-applet/saucy-updates

« back to all changes in this revision

Viewing changes to .pc/make_menu_items_insensitive_based_on_permissions.patch/src/applet-device-wifi.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-09-20 16:40:24 UTC
  • Revision ID: package-import@ubuntu.com-20120920164024-d0kluun4mlexvzm6
Tags: 0.9.6.2-0ubuntu5
* debian/patches/nm-applet-use-indicator.patch: Plug two small leaks.
* debian/patches/lp1048520_delay_pin_dialog_in_greeter.patch: Delay PIN
  dialog when in greeter mode; it shouldn't show unless a user goes to
  activate a mobile connection which needs unlocking. (LP: #1048520)

Show diffs side-by-side

added added

removed removed

Lines of Context:
433
433
out:
434
434
        atk_object_set_name (gtk_widget_get_accessible (GTK_WIDGET (item)), icon_desc->str);
435
435
        g_free (ssid);
436
 
        g_string_free (icon_desc, FALSE);
 
436
        g_string_free (icon_desc, TRUE);
437
437
}
438
438
#endif
439
439
 
872
872
                GSList *dupes = NULL;
873
873
                const char *path;
874
874
 
875
 
                dupes = g_object_get_data (G_OBJECT (dup_data.found), "dupes");
 
875
                dupes = g_object_steal_data (G_OBJECT (dup_data.found), "dupes");
876
876
                path = nm_object_get_path (NM_OBJECT (ap));
877
877
                dupes = g_slist_prepend (dupes, g_strdup (path));
 
878
                g_object_set_data_full (G_OBJECT (dup_data.found), "dupes", (gpointer) dupes, (GDestroyNotify) clear_dupes_list);
878
879
#endif
879
880
                return NULL;
880
881
        }