logo

overlay

My (experimental) gentoo overlay

3.30.2-application-name-dbus.patch (899B)


      1 From 674ab1de72145485f8ea2a715a6ff67a5c99548b Mon Sep 17 00:00:00 2001
      2 From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
      3 Date: Sun, 6 Jan 2019 14:49:13 +0100
      4 Subject: [PATCH] unbreak build when compiled without dbus
      5 
      6 APPLICATION_NAME is also used in ev_application_new() since 9363553a
      7 
      8 Fixes #1055
      9 ---
     10  shell/ev-application.c | 2 +-
     11  1 file changed, 1 insertion(+), 1 deletion(-)
     12 
     13 diff --git a/shell/ev-application.c b/shell/ev-application.c
     14 index b01b3fa0..2085ba60 100644
     15 --- a/shell/ev-application.c
     16 +++ b/shell/ev-application.c
     17 @@ -64,8 +64,8 @@ struct _EvApplicationClass {
     18  
     19  G_DEFINE_TYPE (EvApplication, ev_application, GTK_TYPE_APPLICATION)
     20  
     21 -#ifdef ENABLE_DBUS
     22  #define APPLICATION_NAME             "org.gnome.Evince"
     23 +#ifdef ENABLE_DBUS
     24  #define APPLICATION_DBUS_OBJECT_PATH "/org/gnome/evince/Evince"
     25  #define APPLICATION_DBUS_INTERFACE   "org.gnome.evince.Application"
     26  
     27 -- 
     28 2.21.0
     29