From 0cc697317b996ed0ac2c2b42208f0799d0f51b16 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 30 Oct 2014 09:46:40 +0100 Subject: lxdm: remove LXDM 0.4.1 in favor of LXDM 0.5 of meta-openembedded Remove LXDM 0.4.1 receipts in favor of LXDM 0.5 from meta-openembedded. The version 0.5 also supports systemd-logind as login/session manager which allows to remove now unsupported ConsoleKit without losing functionality. --- .../lxdm-0.4.1-git-fix-null-pointer-deref.patch | 51 ---------------------- 1 file changed, 51 deletions(-) delete mode 100644 recipes-lxde/lxdm/lxdm-0.4.1/lxdm-0.4.1-git-fix-null-pointer-deref.patch (limited to 'recipes-lxde/lxdm/lxdm-0.4.1/lxdm-0.4.1-git-fix-null-pointer-deref.patch') diff --git a/recipes-lxde/lxdm/lxdm-0.4.1/lxdm-0.4.1-git-fix-null-pointer-deref.patch b/recipes-lxde/lxdm/lxdm-0.4.1/lxdm-0.4.1-git-fix-null-pointer-deref.patch deleted file mode 100644 index 7abdbd4..0000000 --- a/recipes-lxde/lxdm/lxdm-0.4.1/lxdm-0.4.1-git-fix-null-pointer-deref.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 19f82a206b2cec964cea0475395d63dedf183788 Mon Sep 17 00:00:00 2001 -From: Andrea Florio -Date: Fri, 29 Jul 2011 23:59:32 +0200 -Subject: [PATCH] fix null pointer dereference - ---- - src/config.c | 25 ++++++++++--------------- - 1 files changed, 10 insertions(+), 15 deletions(-) - -diff --git a/src/config.c b/src/config.c -index 3f92f7b..4603ab4 100644 ---- a/src/config.c -+++ b/src/config.c -@@ -125,24 +125,19 @@ static gboolean image_file_valid(const char *filename) - static void update_face_image(GtkWidget *w) - { - GdkPixbuf *pixbuf; -- char *path; -- path=g_build_filename(user->pw_dir,".face",NULL); -- if(access(path,R_OK)) -- { -- g_free(path); -- if(ui_nobody) -- pixbuf=gdk_pixbuf_new_from_file_at_scale(ui_nobody,48,48,FALSE,NULL); -- if(!pixbuf) -- pixbuf=gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), -+ char *path=g_build_filename(user->pw_dir,".face",NULL); -+ pixbuf=gdk_pixbuf_new_from_file_at_scale(path,48,48,FALSE,NULL); -+ g_free(path); -+ if(!pixbuf && ui_nobody) -+ pixbuf=gdk_pixbuf_new_from_file_at_scale(ui_nobody,48,48,FALSE,NULL); -+ if(!pixbuf) -+ pixbuf=gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), - "avatar-default", 48,GTK_ICON_LOOKUP_FORCE_SIZE,NULL); -- } -- else -+ if(pixbuf) - { -- pixbuf=gdk_pixbuf_new_from_file_at_scale(path,48,48,FALSE,NULL); -- g_free(path); -+ gtk_image_set_from_pixbuf(GTK_IMAGE(w),pixbuf); -+ g_object_unref(pixbuf); - } -- gtk_image_set_from_pixbuf(GTK_IMAGE(w),pixbuf); -- g_object_unref(pixbuf); - } - - static void set_face_file(const char *filename) --- -1.7.0.1 - -- cgit v1.2.3