Skip to content

Commit

Permalink
build: Use PACKAGE_URL variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj authored and raveit65 committed Feb 4, 2021
1 parent 3bda011 commit 84de286
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion applets/brightness/brightness-applet.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data)
"documenters", documenters,
"translator-credits", _("translator-credits"),
"wrap-license", TRUE,
"website", "https://mate-desktop.org",
"website", PACKAGE_URL,
NULL);

g_free (license_trans);
Expand Down
2 changes: 1 addition & 1 deletion applets/inhibit/inhibit-applet.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data)
"documenters", documenters,
"translator-credits", _("translator-credits"),
"wrap-license", TRUE,
"website", "https://mate-desktop.org",
"website", PACKAGE_URL,
NULL);

g_free (license_trans);
Expand Down
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
AC_PREREQ(2.63)

AC_INIT([mate-power-manager], [1.25.0], [https://mate-desktop.org/])
AC_INIT([mate-power-manager], [1.25.0], [https://github.com/mate-desktop/mate-power-manager/pulls],
[mate-power-manager], [https://mate-desktop.org])
AC_CONFIG_SRCDIR(src)
AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-xz check-news tar-ustar])
AC_CONFIG_HEADERS([config.h])
Expand Down
4 changes: 2 additions & 2 deletions src/gpm-tray-icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

#ifdef HAVE_CONFIG_H
# include <config.h>
#include <config.h>
#endif

#include <stdlib.h>
Expand Down Expand Up @@ -211,7 +211,7 @@ gpm_tray_icon_show_about_cb (GtkMenuItem *item, gpointer data)
"translator-credits", _("translator-credits"),
"icon-name", "mate-power-manager",
"logo-icon-name", "mate-power-manager",
"website", "https://mate-desktop.org",
"website", PACKAGE_URL,
NULL);

g_strfreev (authors);
Expand Down

0 comments on commit 84de286

Please sign in to comment.