Mercurial > mplayer.hg
diff gui/mplayer/gtk/about.c @ 27343:5fe6a8adf569
Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2
author | diego |
---|---|
date | Wed, 30 Jul 2008 13:44:59 +0000 |
parents | b0a7b35b78d2 |
children | 0f1b5b68af32 |
line wrap: on
line diff
--- a/gui/mplayer/gtk/about.c Wed Jul 30 12:03:30 2008 +0000 +++ b/gui/mplayer/gtk/about.c Wed Jul 30 13:44:59 2008 +0000 @@ -45,10 +45,10 @@ GtkWidget * AboutText; GtkWidget * Ok; -#ifdef HAVE_GTK2_GUI +#ifdef CONFIG_GTK2 GtkTextBuffer * AboutTextBuffer; GtkTextIter iter; -#endif //HAVE_GTK2_GUI +#endif /* CONFIG_GTK2 */ GtkStyle * pixmapstyle; GdkPixmap * pixmapwid; @@ -89,7 +89,7 @@ gtk_box_pack_start( GTK_BOX( vbox ),scrolledwindow1,TRUE,TRUE,0 ); gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW( scrolledwindow1 ),GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC ); -#ifdef HAVE_GTK2_GUI +#ifdef CONFIG_GTK2 AboutText = gtk_text_view_new(); gtk_text_view_set_editable(GTK_TEXT_VIEW(AboutText), FALSE); gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(AboutText), FALSE); @@ -102,7 +102,7 @@ gtk_widget_set_name( AboutText,"AboutText" ); gtk_widget_show( AboutText ); gtk_container_add( GTK_CONTAINER( scrolledwindow1 ),AboutText ); -#ifdef HAVE_GTK2_GUI +#ifdef CONFIG_GTK2 gtk_text_buffer_insert (AboutTextBuffer, &iter, #else gtk_text_insert( GTK_TEXT( AboutText ),NULL,NULL,NULL,