]> Pileus Git - ~andy/gtk/blobdiff - tests/testfontselectiondialog.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testfontselectiondialog.c
index bcc1c80528366b8315c2384993d7c00e4c3f73ec..e8df897260787d670e16a478333a1ddcd79e7535 100644 (file)
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "config.h"
 
-#undef GTK_DISABLE_DEPRECATED
+#define GDK_DISABLE_DEPRECATION_WARNINGS
 
 #include <gtk/gtk.h>
 
@@ -27,7 +25,7 @@ int
 main (int argc, char *argv[])
 {
   GtkWidget *dialog;
-  GtkWidget *ok;
+  GtkWidget *ok G_GNUC_UNUSED;
 
   gtk_init (&argc, &argv);