Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Update src/pal/gtk/config-dialog-gtk.h
Browse files Browse the repository at this point in the history
In this branch Moonlight is migrated from Gtk-2 to Gtk-3.
All changes are done under a flag "MOONLIGHT_GTK3".
So to enable GTK3 with moonlight use -DMOONLIGHT_GTK3 flag during configuration.
Also GTK3 libraries and GTK3 include files Path is to be given during configuration.
Also GTK3 dependents like gdk-pixbuf atk pango glib should be included in include paths with appropriate versions.
  • Loading branch information
ya1gaurav committed Nov 20, 2012
1 parent c14ea05 commit da59de0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pal/gtk/config-dialog-gtk.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,17 @@ class MoonConfigDialogGtk {
private:
void AddNotebookPage (const char *label, ConfigDialogPage *page);

#ifdef MOONLIGHT_GTK3
static void notebook_switch_page (GtkNotebook *notebook,
GtkNotebookPage *page,
GtkWidget *page,
guint page_num,
MoonConfigDialogGtk *dialog);
#else
static void notebook_switch_page (GtkNotebook *notebook,
GtkNotebookPage *page,
guint page_num,
MoonConfigDialogGtk *dialog);
#endif

ArrayList* pages;

Expand Down

0 comments on commit da59de0

Please sign in to comment.