transmission-remote-gui / transgui

🧲 A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.
GNU General Public License v2.0
3.24k stars 281 forks source link

Support GTK3 #913

Open ogarcia opened 8 years ago

ogarcia commented 8 years ago

I try to build using GTK3 but I think that source don't support it.

I give this error on run:

(transgui:18422): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion 'bits_per_sample == 8' failed
TGtk3WidgetSet.GetWindowRawImageDescription testimage creation failed 
WARNING: GetSysColorBrush SysColorBrushes arent't initialized properly....
[FORMS.PP] ExceptionOccurred 
  Sender=Exception
  Exception=TControl.InvalidatePreferredSize loop detected MainForm:TMainForm Bounds=l=803,t=605,r=2004,b=1298
  Stack trace:
  $00000000006A6BEB
  $00000000006A6B63
  $000000000069AA2E
  $000000000068D72A
  $000000000069A2E5
  $00000000006A6611
  $000000000068BD06
  $000000000068B3DE
  $000000000068AE8D
  $00000000004CCA23
  $00000000006930B7
  $000000000069F855
  $000000000069F5B4
  $000000000068CD21
  $00000000006A6FAC
  $00000000006A3ABE
  $00000000004CF45B
TApplication.HandleException TControl.InvalidatePreferredSize loop detected MainForm:TMainForm Bounds=l=803,t=605,r=2004,b=1298
  Stack trace:
  $00000000006A6BEB
  $00000000006A6B63
  $000000000069AA2E
  $000000000068D72A
  $000000000069A2E5
  $00000000006A6611
  $000000000068BD06
  $000000000068B3DE
  $000000000068AE8D
  $00000000004CCA23
  $00000000006930B7
  $000000000069F855
  $000000000069F5B4
  $000000000068CD21
  $00000000006A6FAC
  $00000000006A3ABE
  $00000000004CF45B
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
GtkNotebookSwitchPage Data 7F9E2C12B0B0 Realized False pageNum=0
GtkNotebookSwitchPage Data 7F9E2C12B0B0 Realized False pageNum=0
GtkNotebookSwitchPage Data 7F9E2C12B0B0 Realized False pageNum=0
GtkNotebookSwitchPage Data 7F9E2C12B0B0 Realized False pageNum=0
GtkNotebookSwitchPage Data 7F9E2C12B0B0 Realized False pageNum=0
TGtk3WidgetSet.Gtk3Destroy app Windows list is null 

(transgui:18422): GLib-GIO-CRITICAL **: g_application_release: assertion 'application->priv->use_count > 0' failed

There is very interesting to add support to GTK3 for new look in Gnome.

PeterDaveHello commented 7 years ago

Pull requests are welcome.