diff --git a/0001-Preferences-Fix-width-of-dialog.patch b/0001-Preferences-Fix-width-of-dialog.patch deleted file mode 100644 index 4588716..0000000 --- a/0001-Preferences-Fix-width-of-dialog.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4cf6b1a8a581f63d9a39844ab7968df1453eed0e Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro -Date: Tue, 21 Apr 2015 19:17:36 -0500 -Subject: [PATCH 1/8] Preferences: Fix width of dialog - -If we don't set a width limit, the labels will never wrap, and the -preferences dialog will expand to fill the entire screen horizontally. - -https://bugzilla.gnome.org/show_bug.cgi?id=741771 ---- - src/empathy-preferences.ui | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/empathy-preferences.ui b/src/empathy-preferences.ui -index 9aa204f..a8015ac 100644 ---- a/src/empathy-preferences.ui -+++ b/src/empathy-preferences.ui -@@ -650,6 +650,7 @@ - False - 0 - Echo cancellation helps to make your voice sound clearer to the other person, but may cause problems on some computers. If you or the other person hear strange noises or glitches during calls, try turning echo cancellation off and restarting the call. -+ 60 - True - - -@@ -777,6 +778,7 @@ - False - 0 - Reduced location accuracy means that nothing more precise than your city, state and country will be published. GPS coordinates will be accurate to 1 decimal place. -+ 60 - True - - --- -2.4.0 - diff --git a/0002-Fix-preferences-with-modern-gtk.patch b/0002-Fix-preferences-with-modern-gtk.patch deleted file mode 100644 index 2ffc845..0000000 --- a/0002-Fix-preferences-with-modern-gtk.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 389f01f85c8d0fb904552764a1f54533cc3fa5be Mon Sep 17 00:00:00 2001 -From: Giovanni Campagna -Date: Tue, 3 Mar 2015 00:55:54 -0800 -Subject: [PATCH 2/8] Fix preferences with modern gtk+ - -Set the scrolled windows to expand so that they cover the entire -preference window vertically. - -https://bugzilla.gnome.org/show_bug.cgi?id=745504 ---- - src/empathy-preferences.ui | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/empathy-preferences.ui b/src/empathy-preferences.ui -index a8015ac..b3a829a 100644 ---- a/src/empathy-preferences.ui -+++ b/src/empathy-preferences.ui -@@ -545,6 +545,7 @@ - True - True - in -+ True - - - True -@@ -881,6 +882,7 @@ - True - False - in -+ True - - - True --- -2.4.0 - diff --git a/0005-Limit-width-of-first-run-dialog.patch b/0005-Limit-width-of-first-run-dialog.patch deleted file mode 100644 index c378fa8..0000000 --- a/0005-Limit-width-of-first-run-dialog.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 4cac3d17dc232fbdeeba0f95a45a776ce3df734c Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro -Date: Tue, 21 Apr 2015 19:36:08 -0500 -Subject: [PATCH 5/8] Limit width of first run dialog - -https://bugzilla.gnome.org/show_bug.cgi?id=747460 ---- - libempathy-gtk/empathy-local-xmpp-assistant-widget.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c -index 6ee8711..ff34b16 100644 ---- a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c -+++ b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c -@@ -85,6 +85,7 @@ empathy_local_xmpp_assistant_widget_constructed (GObject *object) - "details below are correct.")); - gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5); - gtk_label_set_line_wrap (GTK_LABEL (w), TRUE); -+ gtk_label_set_max_width_chars (GTK_LABEL (w), 60); - gtk_grid_attach (GTK_GRID (self), w, 0, 0, 1, 1); - gtk_widget_show (w); - --- -2.4.0 - diff --git a/0008-Don-t-crash-when-running-in-Wayland.patch b/0008-Don-t-crash-when-running-in-Wayland.patch deleted file mode 100644 index c985b63..0000000 --- a/0008-Don-t-crash-when-running-in-Wayland.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 193e853c8b0d3c1222d7565eb209354f460cad9b Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro -Date: Sat, 9 May 2015 09:59:49 -0500 -Subject: [PATCH 8/8] Don't crash when running in Wayland - -It's wrong to use X11-specific APIs without checking: - -* If GTK+ was compiled with support for X11 -* If the application is currently running in X11 ---- - libempathy-gtk/empathy-avatar-image.c | 33 +++++++++++++++++++++++++++++++++ - 1 file changed, 33 insertions(+) - -diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c -index 78a3e5f..1468802 100644 ---- a/libempathy-gtk/empathy-avatar-image.c -+++ b/libempathy-gtk/empathy-avatar-image.c -@@ -119,6 +119,19 @@ avatar_image_finalize (GObject *object) - G_OBJECT_CLASS (empathy_avatar_image_parent_class)->finalize (object); - } - -+#ifdef GDK_WINDOWING_X11 -+static gboolean -+running_in_x11 (void) -+{ -+ GdkDisplay* display; -+ -+ display = gdk_display_get_default (); -+ if (!display) -+ return FALSE; -+ -+ return GDK_IS_X11_DISPLAY (display); -+} -+ - static GdkFilterReturn - avatar_image_filter_func (GdkXEvent *gdkxevent, - GdkEvent *event, -@@ -128,6 +141,9 @@ avatar_image_filter_func (GdkXEvent *gdkxevent, - Atom atom; - EmpathyAvatarImagePriv *priv; - -+ if (!running_in_x11 ()) -+ return GDK_FILTER_CONTINUE; -+ - priv = GET_PRIV (data); - - if (xevent->type == PropertyNotify) { -@@ -151,6 +167,9 @@ avatar_image_add_filter (EmpathyAvatarImage *avatar_image) - gint mask; - XWindowAttributes attrs; - -+ if (!running_in_x11 ()) -+ return; -+ - mask = PropertyChangeMask; - - window = gdk_x11_get_default_root_xwindow (); -@@ -167,6 +186,20 @@ avatar_image_add_filter (EmpathyAvatarImage *avatar_image) - - gdk_window_add_filter (NULL, avatar_image_filter_func, avatar_image); - } -+#else -+static GdkFilterReturn -+avatar_image_filter_func (GdkXEvent *gdkxevent, -+ GdkEvent *event, -+ gpointer data) -+{ -+ return GDK_FILTER_CONTINUE; -+} -+ -+static void -+avatar_image_add_filter (EmpathyAvatarImage *avatar_image) -+{ -+} -+#endif - - static void - avatar_image_remove_filter (EmpathyAvatarImage *avatar_image) --- -2.4.0 -