updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xfce4-places-plugin / 04_fix-segfault.patch
blob0650bd9d91399dda0a8a656a42da4fcdf6d39763
1 diff -Naur xfce4-places-plugin-1.2.0.orig/panel-plugin/cfg.c xfce4-places-plugin-1.2.0/panel-plugin/cfg.c
2 --- xfce4-places-plugin-1.2.0.orig/panel-plugin/cfg.c 2011-12-18 18:08:43.676513372 +0100
3 +++ xfce4-places-plugin-1.2.0/panel-plugin/cfg.c 2011-12-18 18:11:38.026508986 +0100
4 @@ -505,7 +505,7 @@
5 gtk_widget_show(tmp_label);
6 gtk_box_pack_start(GTK_BOX(tmp_box), tmp_label, FALSE, FALSE, 0);
8 - GtkObject *adj = gtk_adjustment_new(cfg->show_recent_number, 1, 25, 1, 5, 5);
9 + GtkObject *adj = gtk_adjustment_new(cfg->show_recent_number, 1, 25, 1, 5, 0);
11 tmp_widget = gtk_spin_button_new(GTK_ADJUSTMENT(adj), 1, 0);
12 gtk_label_set_mnemonic_widget(GTK_LABEL(tmp_label), tmp_widget);
13 diff -Naur xfce4-places-plugin-1.2.0.orig/panel-plugin/model.c xfce4-places-plugin-1.2.0/panel-plugin/model.c
14 --- xfce4-places-plugin-1.2.0.orig/panel-plugin/model.c 2008-01-09 02:20:42.000000000 +0100
15 +++ xfce4-places-plugin-1.2.0/panel-plugin/model.c 2011-12-18 18:12:35.526507483 +0100
16 @@ -113,9 +113,6 @@
17 bookmark->actions = NULL;
20 - if(bookmark->finalize != NULL)
21 - bookmark->finalize(bookmark);
23 g_free(bookmark);