~ubuntu-branches/ubuntu/wily/caja/wily

« back to all changes in this revision

Viewing changes to eel/eel-mate-extensions.c

  • Committer: Package Import Robot
  • Author(s): John Paul Adrian Glaubitz, Martin Wimpress, John Paul Adrian Glaubitz
  • Date: 2015-08-10 13:39:55 UTC
  • mfrom: (1.2.1) (9.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20150810133955-b2uyptg7cf8rn8su
Tags: 1.10.3-1
[ Martin Wimpress ]
* New upstream release.
* debian/caja-common.install:
  + Add common files.
* debian/caja.install:
  + Remove common files.
* debian/libcaja-extension-dev.install:
  + Add usr/share/gtk-doc.
* debian/rules:
  + Add --enable-gtk-doc.
  + Remove dfsg suffix.
* debian/watch:
  + Remove dfsg suffix.

[ John Paul Adrian Glaubitz ]
* Fix spelling in debian/control (allows to -> allows one to).
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        g_message ("Could not start a terminal");
195
195
        return;
196
196
    }
197
 
#if GTK_CHECK_VERSION (3, 0, 0)
198
 
    GdkAppLaunchContext *launch_context;
199
 
    GAppInfo *app_info = NULL;
200
 
    app_info = g_app_info_create_from_commandline (command_line,
201
 
                                                   NULL,
202
 
                                                   G_APP_INFO_CREATE_NONE,
203
 
                                                   NULL);
204
 
    if (app_info != NULL)
205
 
    {
206
 
        launch_context = gdk_app_launch_context_new ();
207
 
        gdk_app_launch_context_set_screen (launch_context, screen);
208
 
        g_app_info_launch (app_info, NULL, G_APP_LAUNCH_CONTEXT (launch_context), NULL);
209
 
        g_object_unref (launch_context);
210
 
        g_object_unref (app_info);
211
 
    }
212
 
#else
213
 
    gdk_spawn_command_line_on_screen (screen, command_line, NULL);
214
 
#endif
 
197
 
 
198
    mate_gdk_spawn_command_line_on_screen(screen, command_line, NULL);
215
199
    g_free (command_line);
216
200
}
217
201