[mate-calc] 02/02: debian/patches: Drop 0001_init_gtk_before_math_equation_new.patch. Applied upstream.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Mon Mar 26 20:00:37 UTC 2018


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository mate-calc.

commit 7fa051c6f5f79a9766659005535fb9392f43069b
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Mon Mar 26 18:53:40 2018 +0100

    debian/patches: Drop 0001_init_gtk_before_math_equation_new.patch. Applied upstream.
---
 .../0001_init_gtk_before_math_equation_new.patch   | 25 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 26 deletions(-)

diff --git a/debian/patches/0001_init_gtk_before_math_equation_new.patch b/debian/patches/0001_init_gtk_before_math_equation_new.patch
deleted file mode 100644
index 657facf..0000000
--- a/debian/patches/0001_init_gtk_before_math_equation_new.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Author: Victor A. Santos <victoraur.santos at gmail.com>
-Description: Initialise GTK before math_equation_new to prevent a slew of warnings when running from the terminal.
-
-diff --git a/src/mate-calc.c b/src/mate-calc.c
-index 891bc7e..b31d2f1 100644
---- a/src/mate-calc.c
-+++ b/src/mate-calc.c
-@@ -197,6 +197,8 @@ int main(int argc, char **argv)
-     /* Seed random number generator. */
-     srand48((long) time((time_t *) 0));
- 
-+    gtk_init(&argc, &argv);
-+
-     g_settings_var = g_settings_new ("org.mate.calc");
-     accuracy = g_settings_get_int(g_settings_var, "accuracy");
-     word_size = g_settings_get_int(g_settings_var, "word-size");
-@@ -229,8 +231,6 @@ int main(int argc, char **argv)
- 
-     get_options(argc, argv);
- 
--    gtk_init(&argc, &argv);
--
-     //gtk_window_set_default_icon_name("accessories-calculator");
- 
-     window = math_window_new(equation);
diff --git a/debian/patches/series b/debian/patches/series
index 8010a28..2376b91 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-0001_init_gtk_before_math_equation_new.patch
 1001_add-keywords-field-to-desktop-file.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-calc.git



More information about the pkg-mate-commits mailing list