| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
G_APPLICATION_FLAGS_NONE has been deprecated, and replaced with
G_APPLICATION_DEFAULT_FLAGS in GLib 2.74. We can simply use zero to
avoid a version check.
|
|
|
|
|
|
|
|
| |
Aside from the fact that Python 2 is an ex-parrot, and has been pining
for the fjords for a while now, we depend on Python3 for building this
project.
Let's use non-deprecated, idiomatic ways to run a Python script.
|
|
|
|
|
| |
Make it slightly more Pythonic, starting from the PEP8 coding style,
context managers for files, and a slightly more readable regexp.
|
|
|
|
|
|
|
| |
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
|
|
|
|
|
|
| |
That would allow us to add more early exits when debugging, without
making the code more complicated. Also tidy up to not have a "source"
variable that's actually a GList element.
|
|
|
|
|
|
|
|
| |
Since commit adc11e54537aff804c6dcd8d26ade0114632157b, it's
impossible to use grilo-test-ui in the Flatpak for another
application, as it tries to request a D-Bus name that it cannot own.
Instead of using our own app-id/D-Bus name, try to own a variant of the
real app's name.
|
|
|
|
|
|
|
|
| |
If the application couldn't own a name on the session bus, then it would
never setup its UI, and view would be a NULL pointer which we'd
dereference, and crash.
Exit early from cleanup function if the view was never setup.
|
|
|
|
|
|
|
| |
On 3.22.0, gtk_show_uri has been deprecated in favor of
gtk_show_uri_on_window.
Add a GTK_CHECK_VERSION to prevent depending on a GTK version too
recent. It can be removed after bumping GTK to >= 3.22.0
|
|
|
|
|
| |
It has been deprecated since GTK 3.16. Use gdk_cursor_new_for_display
instead.
|
| |
|
|
|
|
|
|
|
|
| |
The value of meson.source_root() can't be trusted because if we are
embedded via subproject() into a larger project, the source root will
be that of the parent project.
Instead, use a variable to keep track of the toplevel source directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes incorrectly duplicated keys in grl-core-keys.h which affected
the output of metadata in grl-inspect by removing the C comments prior
to processing the file.
Before:
$ sort grl-core-keys.h | uniq --repeated
"GRL_METADATA_KEY_MB_RELEASE_GROUP_ID",
After:
$ sort grl-core-keys.h | uniq --repeated
$
|
|
|
|
| |
It has been deprecated since GTK 3.14
|
|
|
|
|
| |
In GTK3 the resize grip functionality has been moved from GtkStatusbar
to GtkWindow.
|
| |
|
| |
|
|
|
|
|
| |
We need to run a few commands to generate headers before compiling
grilo-inspect, make sure to support both Python2 and Python3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the following deprecation warnings:
| main.c: In function ‘changes_notification_cb’:
| main.c:286:3: warning: ‘gtk_toggle_action_get_active’ is deprecated
| ui_state->changes_notification = gtk_toggle_action_get_active (action);
| ^~~~~~~~
| main.c: In function ‘ui_setup’:
| main.c:1878:3: warning: ‘gtk_action_group_new’ is deprecated
| GtkActionGroup *actions = gtk_action_group_new ("actions");
| ^~~~~~~~~~~~~~
| main.c:1879:3: warning: ‘gtk_action_group_add_actions’ is deprecated
| gtk_action_group_add_actions (actions, entries, G_N_ELEMENTS (entries), NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| main.c:1880:3: warning: ‘gtk_action_group_add_toggle_actions’ is deprecated
| gtk_action_group_add_toggle_actions (actions, toggle_entries, G_N_ELEMENTS (toggle_entries), NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| main.c:1882:3: warning: ‘gtk_ui_manager_new’ is deprecated
| GtkUIManager *uiman = gtk_ui_manager_new ();
| ^~~~~~~~~~~~
| main.c:1883:3: warning: ‘gtk_ui_manager_insert_action_group’ is deprecated
| gtk_ui_manager_insert_action_group (uiman, actions, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| main.c:1885:31: warning: ‘gtk_ui_manager_get_accel_group’ is deprecated
| gtk_ui_manager_get_accel_group (uiman));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| main.c:1886:3: warning: ‘gtk_ui_manager_add_ui_from_string’ is deprecated
| gtk_ui_manager_add_ui_from_string (uiman, ui_definition, -1, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| main.c:1890:23: warning: ‘gtk_ui_manager_get_widget’ is deprecated
| gtk_ui_manager_get_widget (uiman, "/MainMenu"),
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
../tools/grilo-test-ui/main.c: In function ‘supported_media_to_str’:
../tools/grilo-test-ui/main.c:905:12: warning: comparison between
‘GrlMediaType’ {aka ‘enum <anonymous>’} and ‘enum <anonymous>’
[-Wenum-compare]
if (type == GRL_SUPPORTED_MEDIA_NONE)
^~
../tools/grilo-test-ui/main.c:907:12: warning: comparison between
‘GrlMediaType’ {aka ‘enum <anonymous>’} and ‘enum <anonymous>’
[-Wenum-compare]
if (type == GRL_SUPPORTED_MEDIA_ALL)
^~
https://gitlab.gnome.org/GNOME/grilo/issues/7
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Fixing these leaks makes it easier to spot leaks coming from the
underlying libraries when running under valgrind.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=787873
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=775950
|
|
|
|
|
|
| |
Put all manpage files together.
https://bugzilla.gnome.org/show_bug.cgi?id=775950
|
|
|
|
| |
It doesn't do anything since title parsing was moved to the Lua plugin.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=732879
|
|
|
|
|
|
| |
Call setlocale() first thing in the main() function
https://bugzilla.gnome.org/show_bug.cgi?id=760426
|
|
|
|
|
|
| |
Call setlocale() first thing in the main() function
https://bugzilla.gnome.org/show_bug.cgi?id=760426
|
|
|
|
|
|
|
|
|
| |
Get rid of GrlMediaBox and use instead GrlMedia.
Also, all references to "box" are converted to "container", as container is a
more suitable name than boxes.
https://bugzilla.gnome.org/show_bug.cgi?id=755551
|
|
|
|
|
|
| |
Get rid of GrlMediaImage and use instead GrlMedia.
https://bugzilla.gnome.org/show_bug.cgi?id=755551
|
|
|
|
|
|
| |
Get rid of GrlMediaVideo and use instead GrlMedia.
https://bugzilla.gnome.org/show_bug.cgi?id=755551
|
|
|
|
|
|
| |
Get rid of GrlMediaAudio and use instead GrlMedia.
https://bugzilla.gnome.org/show_bug.cgi?id=755551
|
|
|
|
|
|
|
|
| |
This property will store the type of media (audio, video, image or container).
The type for supported media in source has been renamed to GrlSupportedMedia.
https://bugzilla.gnome.org/show_bug.cgi?id=755551
|
|
|
|
|
|
|
|
|
|
|
|
| |
Explicitly separate the loading plugin process from activation process.
Thus we can load several plugins from different places, and activate all
of them together.
Loading the plugin will run the plugin's registering function, while
activating will run the plugin's activation function.
https://bugzilla.gnome.org/show_bug.cgi?id=759295
|
|
|
|
|
|
| |
Set only a restricted set of information in plugins.
https://bugzilla.gnome.org/show_bug.cgi?id=759295
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=758655
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out that grilo-plugins expects grl-net and grl-pls to be the same
version as grilo itself, which is likely what a number of applications
also do.
This is easier to deal with than versions changing, and matches what
GLib does for example.
This also fixes a number of lingering references to 0.2 as the major
version number.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Menus don't use images in recent versions of GTK+:
The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
Remove the icons from the menu items.
https://bugzilla.gnome.org/show_bug.cgi?id=754401
|
|
|
|
|
| |
The old key used for the Test UI application has expired, and a new one is
required.
|
|
|
|
|
|
|
| |
From coverity:
grilo-0.2.12/tools/grilo-test-ui/main.c:776:20: warning: 'next_op_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
https://bugzilla.gnome.org/show_bug.cgi?id=749887
|
|
|
|
|
|
|
| |
And add the associated functions as well. Deprecate the old
functions.
https://bugzilla.gnome.org/show_bug.cgi?id=724308
|
|
|
|
| |
Flickr changed its API to force TLS on requests against the API and using OAuth
|
|
|
|
| |
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
|
|
|
|
| |
Deprecated option.
|
|
|
|
| |
Show if the source supports media_from_uri operation.
|
|
|
|
| |
Given an URI and a source, it builds the GrlMedia that contains that URI in the source.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=672933
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=724308
|