public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jiri Moskovcak <jmoskovc@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/abrt] update-2.17.9-f44: added forgotten patch
Date: Mon, 03 Aug 2026 11:03:30 GMT	[thread overview]
Message-ID: <178575501092.1.1687778589152411399.rpms-abrt-f7e2556354e3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/abrt
Branch : update-2.17.9-f44
Commit : f7e2556354e3ff5fbb8c807efc9a4f09ea8c355f
Author : Jiri Moskovcak <jmoskovc@redhat.com>
Date   : 2011-11-05T12:21:33+01:00
Stats  : +79/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/abrt/c/f7e2556354e3ff5fbb8c807efc9a4f09ea8c355f?branch=update-2.17.9-f44

Log:
added forgotten patch

---
diff --git a/0002-gtk3-build-fixes.patch b/0002-gtk3-build-fixes.patch
new file mode 100644
index 0000000..47682f2
--- /dev/null
+++ b/0002-gtk3-build-fixes.patch
@@ -0,0 +1,79 @@
+From af62f5f9fc31a8b24a56983d37cad2d29380ff20 Mon Sep 17 00:00:00 2001
+From: Jiri Moskovcak <jmoskovc@redhat.com>
+Date: Fri, 4 Nov 2011 15:28:15 +0100
+Subject: [PATCH 2/2] gtk3 build fixes
+
+---
+ configure.ac        |    7 ++++++-
+ src/applet/applet.c |    4 ++--
+ src/gui-gtk/main.c  |    7 ++++++-
+ 3 files changed, 14 insertions(+), 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6b0732c..d584047 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -20,6 +20,11 @@ AC_ARG_ENABLE(debug,
+                              [Enable debug information])],
+               [CFLAGS="$CFLAGS -DDEBUG -ggdb -g"])
+ 
++AC_ARG_ENABLE(gtk3,
++              [AC_HELP_STRING([--enable-gtk3],
++                             [Use gtk3 instead of gtk2])],
++              [GTK_VER="gtk+-3.0"],[GTK_VER="gtk+-2.0"])
++
+ dnl ****** INTERNATIONALIZATION **********************
+ GETTEXT_PACKAGE=abrt
+ AC_SUBST(GETTEXT_PACKAGE)
+@@ -56,7 +61,7 @@ AC_PATH_PROG([XMLTO], [xmlto], [no])
+     [exit 1]
+ [fi]
+ 
+-PKG_CHECK_MODULES([GTK], [gtk+-2.0])
++PKG_CHECK_MODULES([GTK], [$GTK_VER])
+ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.21])
+ PKG_CHECK_MODULES([DBUS], [dbus-1])
+ PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
+diff --git a/src/applet/applet.c b/src/applet/applet.c
+index 4ff73b6..95b7091 100644
+--- a/src/applet/applet.c
++++ b/src/applet/applet.c
+@@ -581,8 +581,8 @@ static void init_applet(void)
+             ap_status_icon = gtk_status_icon_new_from_icon_name("abrt");
+         }
+         hide_icon();
+-        g_signal_connect(G_OBJECT(ap_status_icon), "activate", GTK_SIGNAL_FUNC(on_applet_activate_cb), NULL);
+-        g_signal_connect(G_OBJECT(ap_status_icon), "popup_menu", GTK_SIGNAL_FUNC(on_menu_popup_cb), NULL);
++        g_signal_connect(G_OBJECT(ap_status_icon), "activate", G_CALLBACK(on_applet_activate_cb), NULL);
++        g_signal_connect(G_OBJECT(ap_status_icon), "popup_menu", G_CALLBACK(on_menu_popup_cb), NULL);
+         ap_menu = create_menu();
+     }
+ 
+diff --git a/src/gui-gtk/main.c b/src/gui-gtk/main.c
+index a8aacec..b31509b 100644
+--- a/src/gui-gtk/main.c
++++ b/src/gui-gtk/main.c
+@@ -25,6 +25,11 @@
+ #include <internal_libreport_gtk.h>
+ #include "libabrt.h"
+ 
++#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 22
++# define GDK_KEY_Delete GDK_Delete
++# define GDK_KEY_KP_Delete GDK_KP_Delete
++#endif
++
+ static void scan_dirs_and_add_to_dirlist(void);
+ 
+ 
+@@ -460,7 +465,7 @@ static gint on_key_press_event_cb(GtkTreeView *treeview, GdkEventKey *key, gpoin
+ {
+     int k = key->keyval;
+ 
+-    if (k == GDK_Delete || k == GDK_KP_Delete)
++    if (k == GDK_KEY_Delete || k == GDK_KEY_KP_Delete)
+     {
+         delete_report(treeview);
+         return TRUE;
+-- 
+1.7.7
+

             reply	other threads:[~2026-08-03 11:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 11:03 Jiri Moskovcak [this message]
2026-08-03 11:03 [rpms/abrt] update-2.17.9-f44: added forgotten patch Jiri Moskovcak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178575501092.1.1687778589152411399.rpms-abrt-f7e2556354e3@fedoraproject.org \
    --to=jmoskovc@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox