File: support_gtk3

package info (click to toggle)
scim-unikey 0.3.1%2Bdebian-3.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,396 kB
  • ctags: 1,262
  • sloc: sh: 10,650; cpp: 7,490; makefile: 169; sed: 16
file content (38 lines) | stat: -rw-r--r-- 1,767 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 scim-unikey (0.3.1+debian-3.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix FTBFS with GTK3. (Closes: #678752)
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Bug-Debian: http://bugs.debian.org/678752

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- scim-unikey-0.3.1+debian.orig/setup/unikey_setup.cpp
+++ scim-unikey-0.3.1+debian/setup/unikey_setup.cpp
@@ -24,7 +24,7 @@ int main(int argc, char** argv)
     GtkWidget* main_dlg = unikey_main_setup_dialog_new(); // create main dlg
     gtk_window_set_title(GTK_WINDOW(main_dlg), "Scim-Unikey setup v" PACKAGE_VERSION);
 
-    gtk_signal_connect(GTK_OBJECT(main_dlg), "destroy", gtk_main_quit, NULL); // connect with signal
+    g_signal_connect(G_OBJECT(main_dlg), "destroy", gtk_main_quit, NULL); // connect with signal
 
     UnikeyMainSetupOptions opt; // create option
     set_default_config(&opt); // create default option