aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gnote/files/patch-src_remotecontrolproxy.cpp
blob: 6a1989f12946b9a74c883afad086f497014a9733 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/remotecontrolproxy.cpp.orig 2015-11-28 15:44:34 UTC
+++ src/remotecontrolproxy.cpp
@@ -35,7 +35,7 @@ namespace {
   void load_interface_from_file(const char *filename, const char *interface_name,
                                 Glib::RefPtr<Gio::DBus::InterfaceInfo> & interface)
   {
-    if(interface != 0) {
+    if(interface) {
       return;
     }
     std::ifstream fin(filename);