Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 16 Jun 2024 09:27:19 UTC Commit: 0f39c188cc00f0844f2c2bc63266f6e6298cf8d2 https://github.com/geany/geany-plugins/commit/0f39c188cc00f0844f2c2bc63266f6...
Log Message: ----------- geniuspaste: Remove use of deprecated GTK API
Modified Paths: -------------- build/geniuspaste.m4 geniuspaste/README geniuspaste/src/geniuspaste.c
Modified: build/geniuspaste.m4 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -3,7 +3,8 @@ AC_DEFUN([GP_CHECK_GENIUSPASTE], GP_ARG_DISABLE([GeniusPaste], [auto])
GP_CHECK_PLUGIN_DEPS([GeniusPaste], GENIUSPASTE, - [libsoup-3.0]) + [gtk+-3.0 >= 3.16 + libsoup-3.0])
GP_COMMIT_PLUGIN_STATUS([GeniusPaste])
Modified: geniuspaste/README 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -35,7 +35,7 @@ configuration shipped with the plugin, please report the issue to:
Requirements ------------ - * GTK+ >= 2.12 + * GTK+ >= 3.16 * libsoup 3.0
Installation
Modified: geniuspaste/src/geniuspaste.c 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -936,13 +936,13 @@ GtkWidget *plugin_configure(GtkDialog * dialog) gint i; GtkWidget *label, *vbox, *author_label;
- vbox = gtk_vbox_new(FALSE, 6); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6);
label = gtk_label_new(_("Select a pastebin:")); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + gtk_label_set_xalign(GTK_LABEL(label), 0);
author_label = gtk_label_new(_("Enter the author name:")); - gtk_misc_set_alignment(GTK_MISC(author_label), 0, 0.5); + gtk_label_set_xalign(GTK_LABEL(author_label), 0);
widgets.author_entry = gtk_entry_new();
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org