~walkerlee/totem/pre-interview

« back to all changes in this revision

Viewing changes to src/backend/bvw-test.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-05-26 00:07:51 UTC
  • mfrom: (1.6.1) (24.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130526000751-kv8ap3x1di4qq8j2
Tags: 3.8.2-0ubuntu1
* Sync with Debian. Remaining changes: 
* debian/control.in:
  - Drop build-depends on libepc-ui-dev and libgrilo-0.2-dev (in universe)
  - Drop libxtst-dev build-depends so that the (redundant) fake key presses
    for inhibiting the screensaver are disabled (LP: #1007438)
  - Build-depend on libzeitgeist-dev
  - Suggest rather than recommend gstreamer components in universe
  - Add totem-plugins-extra
  - Add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - Refer to Firefox in totem-mozilla description instead of Iceweasel
  - Don't have totem-mozilla recommend any particular browser
  - Drop obsolete python library dependencies since iplayer is no longer
    included
* debian/totem-common.install, debian/source_totem.py:
  - Install Ubuntu apport debugging hook
* debian/totem-plugins-extra.install:
  - Universe plugins split out of totem-plugins (currently only gromit)
* debian/totem-plugins.install:    
  - Skip the plugins split to -extra and add the zeitgeist plugin
* debian/rules:
  - Build with --fail-missing, to ensure we install everything. 
    + Ignore libtotem.{,l}a since we delibrately don't install these.
  - Re-enable hardening, make sure both PIE and BINDNOW are used
    by setting hardening=+all. (LP: #1039604)
* debian/patches/91_quicklist_entries.patch:
  - Add static quicklist
* debian/patches/92_gst-plugins-good.patch:
  - Build without unnecessary gstreamer1.0-bad dependency
* debian/patches/93_grilo_optional.patch:
  - Allow building without grilo while grilo MIR is still pending
* debian/patches/correct_desktop_mimetypes.patch:
  - Don't list the mimetypes after the unity lists
* debian/patches/revert_shell_menu.patch: 
  - revert the use of a shell menu until indicator-appmenu can handle
    the mixed shell/traditional menus itself
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
test_bvw_set_mrl (GtkWidget *bvw, const char *path)
17
17
{
18
18
        mrl = g_strdup (path);
19
 
        bacon_video_widget_open (BACON_VIDEO_WIDGET (bvw), mrl, NULL, NULL);
 
19
        bacon_video_widget_open (BACON_VIDEO_WIDGET (bvw), mrl, NULL);
20
20
}
21
21
 
22
22
static void
76
76
        GOptionGroup *baconoptiongroup;
77
77
        GError *error = NULL;
78
78
        GtkWidget *win, *bvw;
 
79
        GtkSettings *gtk_settings;
79
80
 
80
81
#ifdef GDK_WINDOWING_X11
81
82
        XInitThreads ();
82
83
#endif
83
 
#if !GLIB_CHECK_VERSION (2, 31, 0)
84
 
        g_thread_init (NULL);
85
 
#endif
86
 
        gdk_threads_init ();
 
84
 
 
85
        if (gtk_clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS)
 
86
                g_assert_not_reached ();
87
87
 
88
88
        context = g_option_context_new ("- Play audio and video inside a web browser");
89
89
        baconoptiongroup = bacon_video_widget_get_option_group();
106
106
                return 1;
107
107
        }
108
108
 
 
109
        gtk_settings = gtk_settings_get_default ();
 
110
        g_object_set (G_OBJECT (gtk_settings), "gtk-application-prefer-dark-theme", TRUE, NULL);
 
111
 
109
112
        win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
110
113
        gtk_window_set_default_size (GTK_WINDOW (win), 500, 500);
111
114
        g_signal_connect (G_OBJECT (win), "destroy",