pidgin/pixmaps/art-tools/clean-svg-definitions.sh

Wed, 10 Oct 2018 14:39:23 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Wed, 10 Oct 2018 14:39:23 -0500
changeset 39253
b0f02ccb06ae
parent 24140
6ae3775aa398
permissions
-rw-r--r--

pidgindebug: Provide fallbacks for Gtk < 3.22 functionality

gtk_popover_popup() and gtk_menu_popup_at_widget() snuck their way
into the Pidgin debug window code. This patch uses gtk_widget_show()
as a fallback for the former, which skips the transition, but should
work, and gtk_menu_popup_at_pointer() for the latter, which we have
a compat function for. It's not quite the same functionality, but
it should fix the build with Gtk < 3.22 and should be good enough for
anyone running that old of a Gtk version.

#!/bin/bash

for f in `ls *.svg`
do
  echo "Processing $f file..."
  inkscape --vacuum-defs $f
done

mercurial